Skip to content

Commit cb051e4

Browse files
committed
Imply sysroot-abi feature when in-rust-tree is set
1 parent 0011714 commit cb051e4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/bootstrap/src/core/build_steps/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ impl Step for RustAnalyzer {
385385
"test",
386386
crate_path,
387387
SourceType::InTree,
388-
&["sysroot-abi".to_owned(), "in-rust-tree".to_owned()],
388+
&["in-rust-tree".to_owned()],
389389
);
390390
cargo.allow_features(tool::RustAnalyzer::ALLOW_FEATURES);
391391

src/bootstrap/src/core/build_steps/tool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ impl Step for RustAnalyzerProcMacroSrv {
675675
tool: "rust-analyzer-proc-macro-srv",
676676
mode: Mode::ToolRustc,
677677
path: "src/tools/rust-analyzer/crates/proc-macro-srv-cli",
678-
extra_features: vec!["sysroot-abi".to_owned(), "in-rust-tree".to_owned()],
678+
extra_features: vec!["in-rust-tree".to_owned()],
679679
source_type: SourceType::InTree,
680680
allow_features: RustAnalyzer::ALLOW_FEATURES,
681681
});

src/tools/rust-analyzer/crates/proc-macro-srv/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ proc-macro-test.workspace = true
3636

3737
[features]
3838
sysroot-abi = []
39-
in-rust-tree = ["mbe/in-rust-tree"]
39+
in-rust-tree = ["mbe/in-rust-tree", "sysroot-abi"]

0 commit comments

Comments
 (0)