Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 44f50c5

Browse files
Add comment about CARGO_WORKSPACE_DIR
1 parent 37ed531 commit 44f50c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/test.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,8 @@ impl Step for RustAnalyzer {
392392
);
393393

394394
let dir = builder.src.join(path);
395+
// needed by rust-analyzer to find its own text fixtures, cf.
396+
// https://github.com/rust-analyzer/expect-test/issues/33
395397
cargo.env("CARGO_WORKSPACE_DIR", &dir);
396398

397399
cargo.add_rustc_lib_path(builder, compiler);

0 commit comments

Comments
 (0)