diff options
| author | Amos Wenger <amoswenger@gmail.com> | 2022-07-24 21:04:56 +0200 |
|---|---|---|
| committer | Amos Wenger <amoswenger@gmail.com> | 2022-07-24 21:04:56 +0200 |
| commit | fa0037a5d52457b98dafa7b897dbf3eced1197a4 (patch) | |
| tree | b30b0341fe50526d540c0080183411aded1c63b7 | |
| parent | ee584c19c776cbc89c93bb226d1501c61d20c8eb (diff) | |
| download | rust-fa0037a5d52457b98dafa7b897dbf3eced1197a4.tar.gz rust-fa0037a5d52457b98dafa7b897dbf3eced1197a4.zip | |
Only run proc-macro-srv tests for now (after discussion with @Veykril, @jyn514, and @lnicola)
| -rw-r--r-- | src/bootstrap/test.rs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index c2c45355694..fd583da9082 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -379,19 +379,22 @@ impl Step for RustAnalyzer { builder.ensure(tool::RustAnalyzer { compiler, target: self.host }).expect("in-tree tool"); - let path = "src/tools/rust-analyzer"; + let workspace_path = "src/tools/rust-analyzer"; + // until the whole RA test suite runs on `i686`, we only run + // `proc-macro-srv` tests + let crate_path = "src/tools/rust-analyzer/crates/proc-macro-srv"; let mut cargo = tool::prepare_tool_cargo( builder, compiler, Mode::ToolStd, host, "test", - path, + crate_path, SourceType::InTree, - &["rust-analyzer/in-rust-tree".to_owned()], + &["sysroot-abi".to_owned()], ); - let dir = builder.src.join(path); + let dir = builder.src.join(workspace_path); // needed by rust-analyzer to find its own text fixtures, cf. // https://github.com/rust-analyzer/expect-test/issues/33 cargo.env("CARGO_WORKSPACE_DIR", &dir); |
