rust/tests/run-make/wasm-symbols-not-exported/foo.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
109 B
Rust
Raw Normal View History

#![crate_type = "cdylib"]
#[no_mangle]
pub extern "C" fn foo() {
println!("foo");
panic!("test");
}