We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b87fd7 commit 2ab1da5Copy full SHA for 2ab1da5
src/librustpkg/tests.rs
@@ -79,10 +79,10 @@ fn is_rwx(p: &Path) -> bool {
79
80
fn test_sysroot() -> Path {
81
// Totally gross hack but it's just for test cases.
82
- // Infer the sysroot from the exe name and tack "stage2"
83
- // onto it. (Did I mention it was a gross hack?)
+ // Infer the sysroot from the exe name and pray that it's right.
+ // (Did I mention it was a gross hack?)
84
let self_path = os::self_exe_path().expect("Couldn't get self_exe path");
85
- self_path.pop().push("stage2")
+ self_path.pop()
86
}
87
88
#[test]
0 commit comments