summaryrefslogtreecommitdiff
path: root/test cases/rust/29 self-contained/lib.rs
blob: f8a8bf201a22f3fe847bda9ec61d2de2193ee70c (plain)
1
2
3
4
#[unsafe(export_name = "hello")]
pub extern "C" fn hello() {
    println!("Hello, world!");
}