rust/tests/run-make/cross-lang-lto-clang/rustlib.rs
2023-03-30 07:34:55 -05:00

13 lines
188 B
Rust

#![crate_type="staticlib"]
#[no_mangle]
pub extern "C" fn rust_always_inlined() -> u32 {
42
}
#[no_mangle]
#[inline(never)]
pub extern "C" fn rust_never_inlined() -> u32 {
421
}