File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/test/codegen/remap_path_prefix Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 11// ignore-windows
22
3- // compile-flags: -g -C no-prepopulate-passes --remap-path-prefix={{cwd}}/library/std =/the/std
3+ // compile-flags: -g -C no-prepopulate-passes --remap-path-prefix=/ =/the/root/
44
55// Here we check that imported code from std has their path remapped
6- // Ideally we want to do
7- // COM: CHECK-NOT: !DIFile(filename: "{{cwd}}/library/std/src/thread/mod.rs"
8- // But {{cwd}} will not be expanded here, so we have to check on the bit afterwards
9- // Note that we can't use a positive check on `/the/std` either, because the rempap flag will
10- // have no effect when `remap-debuginfo` is set to true in `config.toml`, causing the test to fail
116
12- // CHECK-NOT : !DIFile(filename: "{{.*}} /library/std"
7+ // CHECK: !DIFile(filename: "{{/the/root/.* /library/std/src/panic.rs}} "
138fn main ( ) {
149 std:: thread:: spawn ( || {
1510 println ! ( "hello" ) ;
You can’t perform that action at this time.
0 commit comments