aboutsummaryrefslogtreecommitdiff
path: root/test cases/rust/4 polyglot
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/rust/4 polyglot')
-rw-r--r--test cases/rust/4 polyglot/stuff.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/rust/4 polyglot/stuff.rs b/test cases/rust/4 polyglot/stuff.rs
index 30c3a36..e5d9386 100644
--- a/test cases/rust/4 polyglot/stuff.rs
+++ b/test cases/rust/4 polyglot/stuff.rs
@@ -1,4 +1,4 @@
#[no_mangle]
-pub extern fn f() {
+pub extern "C" fn f() {
println!("Hello from Rust!");
}