diff options
Diffstat (limited to 'src/test/run-make/wasm-export-all-symbols/bar.rs')
-rw-r--r-- | src/test/run-make/wasm-export-all-symbols/bar.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/run-make/wasm-export-all-symbols/bar.rs b/src/test/run-make/wasm-export-all-symbols/bar.rs new file mode 100644 index 000000000..ac9c20a57 --- /dev/null +++ b/src/test/run-make/wasm-export-all-symbols/bar.rs @@ -0,0 +1,7 @@ +#![crate_type = "rlib"] + +#[no_mangle] +pub extern fn foo() {} + +#[no_mangle] +pub static FOO: u64 = 42; |