summaryrefslogtreecommitdiffstats
path: root/test cases/rust/3 staticlib/stuff.rs
blob: 7cfcdffff1194aaa47e3994ae05ecbc40723e4e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![crate_name = "stuff"]

extern crate other;

extern "C" {
    fn c_explore_value() -> i32;
}

pub fn explore(
) -> String {
    unsafe {
        other::explore(c_explore_value())
    }
}