about summary refs log tree commit diff
path: root/tests/run/array.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/array.rs')
-rw-r--r--tests/run/array.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/run/array.rs b/tests/run/array.rs
index c3c08c29c6d..b405102baff 100644
--- a/tests/run/array.rs
+++ b/tests/run/array.rs
@@ -8,19 +8,11 @@
 //     10
 
 #![feature(no_core, start)]
-
 #![no_std]
 #![no_core]
 
 extern crate mini_core;
-
-mod libc {
-    #[link(name = "c")]
-    extern "C" {
-        pub fn printf(format: *const i8, ...) -> i32;
-        pub fn puts(s: *const u8) -> i32;
-    }
-}
+use mini_core::*;
 
 static mut ONE: usize = 1;