Add comment about CARGO_WORKSPACE_DIR
This commit is contained in:
parent
37ed531fcc
commit
44f50c5fd2
@ -392,6 +392,8 @@ impl Step for RustAnalyzer {
|
|||||||
);
|
);
|
||||||
|
|
||||||
let dir = builder.src.join(path);
|
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.env("CARGO_WORKSPACE_DIR", &dir);
|
||||||
|
|
||||||
cargo.add_rustc_lib_path(builder, compiler);
|
cargo.add_rustc_lib_path(builder, compiler);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user