blob: d3b7fd23ca8238315b3b040b72435604f0b55960 [file] [log] [blame] [edit]
#![feature(no_core, lang_items)]
#![no_std]
#![no_core]
#![crate_type = "lib"]
// This is needed because of #![no_core]:
#[lang = "sized"]
trait Sized {}
#[link(name = "extern_1", kind = "raw-dylib")]
extern "C" {
fn extern_fn();
}
pub fn extern_fn_caller() {
unsafe {
extern_fn();
}
}