about summary refs log tree commit diff
path: root/tests/run-make/link-path-order
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2024-04-17 18:47:28 -0400
committerBen Kimock <kimockb@gmail.com>2024-05-20 11:13:10 -0400
commit8d3bc559048e47de32e32a562fe5bbea0b38f4e6 (patch)
tree03ffb3889cb53e439bdfdeb8f154d7a8b2f1ea51 /tests/run-make/link-path-order
parent44d679b9021f03a79133021b94e6d23e9b55b3ab (diff)
Fix up a few more tests
Diffstat (limited to 'tests/run-make/link-path-order')
-rw-r--r--tests/run-make/link-path-order/main.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/run-make/link-path-order/main.rs b/tests/run-make/link-path-order/main.rs
index 8024e343d19..20a517dcda9 100644
--- a/tests/run-make/link-path-order/main.rs
+++ b/tests/run-make/link-path-order/main.rs
@@ -1,10 +1,8 @@
-#![feature(rustc_private)]
-
-extern crate libc;
+use std::ffi::c_int;
 
 #[link(name = "foo", kind = "static")]
 extern "C" {
-    fn should_return_one() -> libc::c_int;
+    fn should_return_one() -> c_int;
 }
 
 fn main() {