2021-08-30 04:49:05 -05:00
|
|
|
#![crate_type = "cdylib"]
|
|
|
|
#![no_std]
|
|
|
|
|
|
|
|
#[panic_handler]
|
|
|
|
fn my_panic(_info: &core::panic::PanicInfo) -> ! {
|
|
|
|
loop {}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
pub fn multer(a: i128, b: i128) -> i128 {
|
2024-01-12 04:23:04 -06:00
|
|
|
// Trigger usage of the __multi3 compiler intrinsic which then leads to an imported
|
|
|
|
// panic function in case of a bug. We verify that no imports exist in our verifier.
|
2021-08-30 04:49:05 -05:00
|
|
|
a * b
|
|
|
|
}
|