]>
git.proxmox.com Git - rustc.git/blob - src/test/codegen/remap_path_prefix/issue-73167-remap-std.rs
3 // compile-flags: -g -C no-prepopulate-passes -Z simulate-remapped-rust-src-base=/rustc/xyz
5 // Here we check that importing std will not cause real path to std source files
6 // to leak. If rustc was compiled with remap-debuginfo = true, this should be
7 // true automatically. If paths to std library hasn't been remapped, we use the
8 // above simulate-remapped-rust-src-base option to do it temporarily
10 // CHECK: !DIFile(filename: "{{/rustc/.*/library/std/src/panic.rs}}"
12 std
::thread
::spawn(|| {