22 lines
695 B
Plaintext
22 lines
695 B
Plaintext
error: found `malloc` symbol definition that clashes with a built-in shim
|
|
--> $DIR/exported_symbol_shim_clashing.rs:LL:CC
|
|
|
|
|
LL | malloc(0);
|
|
| ^^^^^^^^^ found `malloc` symbol definition that clashes with a built-in shim
|
|
|
|
|
help: the `malloc` symbol is defined here
|
|
--> $DIR/exported_symbol_shim_clashing.rs:LL:CC
|
|
|
|
|
LL | / extern "C" fn malloc(_: usize) -> *mut std::ffi::c_void {
|
|
LL | |
|
|
LL | | unreachable!()
|
|
LL | | }
|
|
| |_^
|
|
= note: backtrace:
|
|
= note: inside `main` at $DIR/exported_symbol_shim_clashing.rs:LL:CC
|
|
|
|
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
|
|
|
|
error: aborting due to previous error
|
|
|