'Is it possible to directly invoke cargo (instead of x.py) to build rustc?
I'm playing with the Rust compiler source code. Is it possible to directly invoke cargo to build the compiler, i.e., something like cargo build some_arg… instead of using x.py build? I simply tried cargo build in the root directory of rust and got tons of compile errors. The reason I asked this is that I’d like to use CLion to develop and debug rustc; currently CLion seems to only support invoking cargo to build, run or debug target Rust programs, essentially calling cargo run target_prog (I tried some other Rust programs and the debugger works fine).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
