We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fcbca8 commit 61c4b11Copy full SHA for 61c4b11
crates/cargo-test-support/src/lib.rs
@@ -1209,7 +1209,7 @@ pub trait TestEnv: Sized {
1209
.current_dir(&paths::root())
1210
.env("HOME", paths::home())
1211
.env("CARGO_HOME", paths::home().join(".cargo"))
1212
- .env("__CARGO_TEST_ROOT", paths::root())
+ .env("__CARGO_TEST_ROOT", paths::global_root())
1213
// Force Cargo to think it's on the stable channel for all tests, this
1214
// should hopefully not surprise us as we add cargo features over time and
1215
// cargo rides the trains.
0 commit comments