]> git.lizzy.rs Git - rust.git/blobdiff - src/test/auxiliary/crateresolve1-1.rs
auto merge of #15421 : catharsis/rust/doc-ffi-minor-fixes, r=alexcrichton
[rust.git] / src / test / auxiliary / crateresolve1-1.rs
index 818d4da52ed089587df626474060a47063d8602d..e26ea7c4fa6d0b73b79e49c83722512ccd5549fa 100644 (file)
@@ -8,9 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[link(name = "crateresolve1",
-       vers = "0.1")];
-
-#[crate_type = "lib"];
+// compile-flags:-C extra-filename=-1
+#![crate_name = "crateresolve1"]
+#![crate_type = "lib"]
 
 pub fn f() -> int { 10 }