mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
7 lines
201 B
Rust
7 lines
201 B
Rust
// Make this function extern "C", public, and no-mangle, so that it gets
|
|
// exported from the downstream staticlib.
|
|
#[no_mangle]
|
|
pub extern "C" fn issue64153_test_function(x: u32) -> u32 {
|
|
x + 1
|
|
}
|