Skip to content

Commit

Permalink
Unrolled build for rust-lang#120310
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
rust-timer authored Jan 30, 2024
2 parents 5ad7454 + e23937c commit ccb77f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/codegen/infallible-unwrap-in-opt-z.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ pub fn read_up_to_8(buf: &[u8]) -> u64 {
// CHECK-LABEL: @checking_unwrap_expectation(
#[no_mangle]
pub fn checking_unwrap_expectation(buf: &[u8]) -> &[u8; 4] {
// CHECK: call void @_ZN4core6result13unwrap_failed17h
// CHECK: call void @{{.*core6result13unwrap_failed}}
buf.try_into().unwrap()
}

0 comments on commit ccb77f0

Please sign in to comment.