1 error: Undefined Behavior: calling a function with ABI C using caller ABI Rust
2 --> $DIR/check_callback_abi.rs:LL:CC
4 LL | / std::intrinsics::r#try(
6 LL | | std::mem::transmute::<extern "C" fn(*mut u8), _>(try_fn),
7 LL | | std::ptr::null_mut(),
8 LL | | |_, _| unreachable!(),
10 | |_________^ calling a function with ABI C using caller ABI Rust
12 = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
13 = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
15 = note: inside `main` at $DIR/check_callback_abi.rs:LL:CC
17 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
19 error: aborting due to previous error