about summary refs log tree commit diff
path: root/src/test/run-make/c-link-to-rust-staticlib/foo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make/c-link-to-rust-staticlib/foo.rs')
-rw-r--r--src/test/run-make/c-link-to-rust-staticlib/foo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/c-link-to-rust-staticlib/foo.rs b/src/test/run-make/c-link-to-rust-staticlib/foo.rs
index 4cb7a749385..1bb19016700 100644
--- a/src/test/run-make/c-link-to-rust-staticlib/foo.rs
+++ b/src/test/run-make/c-link-to-rust-staticlib/foo.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[crate_type = "staticlib"];
+#![crate_type = "staticlib"]
 
 #[no_mangle]
 pub extern "C" fn foo() {}