Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit e646f99

Browse files
aloucksXanewok
authored andcommitted
Explain why the RUSTC env var needs to be set in tooltip tests
1 parent 490dd80 commit e646f99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/actions/hover.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,8 @@ pub mod test {
11601160
use env_logger;
11611161
let _ = env_logger::try_init();
11621162

1163+
// Prevent the hover test project build from trying to use the rls test
1164+
// binary as a rustc shim. See RlsExecutor::exec for more information.
11631165
if env::var("RUSTC").is_err() {
11641166
env::set_var("RUSTC", "rustc");
11651167
}

0 commit comments

Comments
 (0)