meson/test cases/rust/3 staticlib/stuff.rs

15 lines
189 B
Rust

#![crate_name = "stuff"]
extern crate other;
extern "C" {
fn c_explore_value() -> i32;
}
pub fn explore(
) -> String {
unsafe {
other::explore(c_explore_value())
}
}