Rollup merge of #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`.
This commit is contained in:
commit
6a1d34f32a
@ -21,6 +21,6 @@ pub fn read_up_to_8(buf: &[u8]) -> u64 {
|
|||||||
// CHECK-LABEL: @checking_unwrap_expectation(
|
// CHECK-LABEL: @checking_unwrap_expectation(
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn checking_unwrap_expectation(buf: &[u8]) -> &[u8; 4] {
|
pub fn checking_unwrap_expectation(buf: &[u8]) -> &[u8; 4] {
|
||||||
// CHECK: call void @_ZN4core6result13unwrap_failed17h
|
// CHECK: call void @{{.*core6result13unwrap_failed}}
|
||||||
buf.try_into().unwrap()
|
buf.try_into().unwrap()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user