rust/tests/run-make/msvc-wholearchive/static.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
132 B
Rust
Raw Normal View History

2024-08-18 17:45:34 -05:00
#[no_mangle]
pub extern "C" fn hello() {
println!("Hello world!");
}
#[no_mangle]
pub extern "C" fn number() -> u32 {
42
}