mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-04 10:50:15 +00:00
Fix proc-macro-test-impl building without any proc-macros
This commit is contained in:
parent
9197b541c2
commit
ca957f4f82
4 changed files with 6 additions and 10 deletions
|
@ -70,6 +70,9 @@ fn main() {
|
|||
// instance to use the same target directory.
|
||||
.arg("--target-dir")
|
||||
.arg(&target_dir);
|
||||
if cfg!(feature = "sysroot-abi") {
|
||||
cmd.args(["--features", "sysroot-abi"]);
|
||||
}
|
||||
|
||||
if let Ok(target) = std::env::var("TARGET") {
|
||||
cmd.args(["--target", &target]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue