summaryrefslogtreecommitdiffstats
path: root/tests/run-make/raw-dylib-custom-dlltool/lib.rs
blob: 2f3f497a00de14a43c40bb43baa411cb660265af (plain)
1
2
3
4
5
6
7
8
9
10
#[link(name = "extern_1", kind = "raw-dylib")]
extern {
    fn extern_fn_1();
}

pub fn library_function() {
    unsafe {
        extern_fn_1();
    }
}