rust/src/test/codegen/remap_path_prefix/issue-73167-remap-std.rs

13 lines
319 B
Rust
Raw Normal View History

// ignore-windows
// compile-flags: -g -C no-prepopulate-passes --remap-path-prefix=/=/the/root/
// Here we check that imported code from std has their path remapped
// CHECK: !DIFile(filename: "{{/the/root/.*/library/std/src/panic.rs}}"
fn main() {
std::thread::spawn(|| {
println!("hello");
});
}