rust/tests/assembly/auxiliary/non-inline-dependency.rs
2023-01-11 09:32:08 +00:00

15 lines
219 B
Rust

#![no_std]
#![deny(warnings)]
#[inline(never)]
#[no_mangle]
pub fn wrapping_external_fn(a: u32) -> u32 {
a.wrapping_mul(a)
}
#[inline(never)]
#[no_mangle]
pub fn panicking_external_fn(a: u32) -> u32 {
a * a
}