about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2022-05-05 17:26:22 +0200
committerMichael Woerister <michaelwoerister@posteo>2022-05-18 12:19:01 +0200
commit6411fef3aba5ba54a02b54b171b4e9bc83687ce9 (patch)
tree9bd85eea74036c0f5b6dc32f074f4c72d105014e /src/test/codegen
parent9e7b0ff2e11fba83c5d87cf871e6531d94edb2e5 (diff)
downloadrust-6411fef3aba5ba54a02b54b171b4e9bc83687ce9.tar.gz
rust-6411fef3aba5ba54a02b54b171b4e9bc83687ce9.zip
Properly apply path prefix remapping paths emitted into debuginfo.
Diffstat (limited to 'src/test/codegen')
-rw-r--r--src/test/codegen/remap_path_prefix/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/remap_path_prefix/main.rs b/src/test/codegen/remap_path_prefix/main.rs
index b13d576295c..381f11ff1ef 100644
--- a/src/test/codegen/remap_path_prefix/main.rs
+++ b/src/test/codegen/remap_path_prefix/main.rs
@@ -22,7 +22,7 @@ fn main() {
 }
 
 // Here we check that local debuginfo is mapped correctly.
-// CHECK: !DIFile(filename: "/the/src/remap_path_prefix/main.rs", directory: "/the/cwd"
+// CHECK: !DIFile(filename: "/the/src/remap_path_prefix/main.rs", directory: ""
 
 // And here that debuginfo from other crates are expanded to absolute paths.
 // CHECK: !DIFile(filename: "/the/aux-src/remap_path_prefix_aux.rs", directory: ""