Skip to content

Commit 2b27914

Browse files
committed
test: relax redaction for sysroot
sysroot is different when bootstrapping rustc ``` ---- expected: tests/testsuite/cfg.rs:444:27 ++++ actual: stderr 1 1 | [ERROR] output of --print=split-debuginfo missing when learning about target-specific information from rustc 2 2 | command was: `[ROOT]/compiler/target/debug/compiler[..]--crate-type [..]` 3 3 | 4 4 | --- stdout 5 5 | ___[EXE] 6 6 | lib___.rlib 7 7 | [..]___.[..] 8 8 | [..]___.[..] 9 9 | [..]___.[..] 10 10 | [..]___.[..] 11 - [..]rust[..] 11 + /checkout/obj/build/[HOST_TARGET]/stage2 12 12 | ``` https://github.com/rust-lang-ci/rust/actions/runs/9814397548/job/27101968836#step:25:10913
1 parent 6d68563 commit 2b27914

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/cfg.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ lib___.rlib
452452
[..]___.[..]
453453
[..]___.[..]
454454
[..]___.[..]
455-
[..]rust[..]
455+
[..]
456456
457457
458458
"#]])
@@ -470,7 +470,7 @@ lib___.rlib
470470
[..]___.[..]
471471
[..]___.[..]
472472
[..]___.[..]
473-
[..]rust[..]
473+
[..]
474474
[..],[..]
475475
___
476476
123

0 commit comments

Comments
 (0)