diff options
| author | Amos Wenger <amoswenger@gmail.com> | 2022-07-22 18:06:38 +0200 |
|---|---|---|
| committer | Amos Wenger <amoswenger@gmail.com> | 2022-07-24 10:38:12 +0200 |
| commit | 44f50c5fd275dfe7260d6eea5065e12eb3c8e811 (patch) | |
| tree | 76688cf5d19513812db6c0a79efd528fd248425c | |
| parent | 37ed531fccb64aec4daed05d922d757beb0b1cd2 (diff) | |
| download | rust-44f50c5fd275dfe7260d6eea5065e12eb3c8e811.tar.gz rust-44f50c5fd275dfe7260d6eea5065e12eb3c8e811.zip | |
Add comment about CARGO_WORKSPACE_DIR
| -rw-r--r-- | src/bootstrap/test.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 9578520c429..0fa9671738e 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -392,6 +392,8 @@ impl Step for RustAnalyzer { ); let dir = builder.src.join(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); cargo.add_rustc_lib_path(builder, compiler); |
