diff options
| author | Ben Kimock <kimockb@gmail.com> | 2024-04-17 18:47:28 -0400 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2024-05-20 11:13:10 -0400 |
| commit | 8d3bc559048e47de32e32a562fe5bbea0b38f4e6 (patch) | |
| tree | 03ffb3889cb53e439bdfdeb8f154d7a8b2f1ea51 /tests/run-make/link-path-order | |
| parent | 44d679b9021f03a79133021b94e6d23e9b55b3ab (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.rs | 6 |
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() { |
