Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/proc-macro-srv/proc-macro-test/build.rs')
-rw-r--r--crates/proc-macro-srv/proc-macro-test/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/proc-macro-srv/proc-macro-test/build.rs b/crates/proc-macro-srv/proc-macro-test/build.rs
index 7827157865..7299147686 100644
--- a/crates/proc-macro-srv/proc-macro-test/build.rs
+++ b/crates/proc-macro-srv/proc-macro-test/build.rs
@@ -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]);