Skip to content

Commit 4c57f44

Browse files
committed
tests: switch remap prefix expectation to /cargo/registry
Registry dependencies are now remapped by cargo trim-paths as `/cargo/registry/{source-hash}/{pkg}-{ver}/`
1 parent d8ee768 commit 4c57f44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tests/run-make/remap-path-prefix-std

tests/run-make/remap-path-prefix-std/rmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fn main() {
9393
// Check that remapped paths are present if the rlib has debug info.
9494
if stdout.contains("DW_TAG_compile_unit") {
9595
assert!(
96-
stdout.contains("/rustc/") || stdout.contains("/rust/deps"),
96+
stdout.contains("/rustc/") || stdout.contains("/cargo/registry/"),
9797
"Expected remapped paths in dwarfdump output for {link_name}",
9898
);
9999
}

0 commit comments

Comments
 (0)