Skip to content

Commit ccb77f0

Browse files
authored
Unrolled build for rust-lang#120310
Rollup merge of rust-lang#120310 - krasimirgg:jan-v0-sym, r=Mark-Simulacrum adapt test for v0 symbol mangling No functional changes intended. Adapts the test to also work under `new-symbol-mangling = true`.
2 parents 5ad7454 + e23937c commit ccb77f0

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)