Skip to content

Commit 97ff78e

Browse files
committed
canonicalize build root in tests/run-make/linker-warning
1 parent b56aaec commit 97ff78e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-make/linker-warning/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn main() {
6464
.normalize(r#"/rustc[^/_-]*/"#, "/rustc/")
6565
.normalize("libpanic_abort", "libpanic_unwind")
6666
.normalize(
67-
regex::escape(run_make_support::build_root().to_str().unwrap()),
67+
regex::escape(run_make_support::build_root().canonicalize().unwrap().to_str().unwrap()),
6868
"/build-root",
6969
)
7070
.normalize(r#""[^"]*\/symbols.o""#, "\"/symbols.o\"")

0 commit comments

Comments
 (0)