Skip to content

Commit e23937c

Browse files
committed
adapt test for v0 symbol mangling
No functional changes intended. Adapts the test to also work under new-symbol-mangling = true.
1 parent cd6d8f2 commit e23937c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/codegen/infallible-unwrap-in-opt-z.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ pub fn read_up_to_8(buf: &[u8]) -> u64 {
2121
// CHECK-LABEL: @checking_unwrap_expectation(
2222
#[no_mangle]
2323
pub fn checking_unwrap_expectation(buf: &[u8]) -> &[u8; 4] {
24-
// CHECK: call void @_ZN4core6result13unwrap_failed17h
24+
// CHECK: call void @{{.*core6result13unwrap_failed}}
2525
buf.try_into().unwrap()
2626
}

0 commit comments

Comments
 (0)