diff options
Diffstat (limited to 'meson/test cases/rust/5 polyglot static/stuff.rs')
-rw-r--r-- | meson/test cases/rust/5 polyglot static/stuff.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/rust/5 polyglot static/stuff.rs b/meson/test cases/rust/5 polyglot static/stuff.rs new file mode 100644 index 000000000..ecf623c64 --- /dev/null +++ b/meson/test cases/rust/5 polyglot static/stuff.rs @@ -0,0 +1,6 @@ +#![crate_name = "stuff"] + +#[no_mangle] +pub extern fn f() { + println!("Hello from Rust!"); +} |