From 8f9a32aaf844174b26d7a39839c19c8f1c8d8cd0 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 18 Apr 2025 21:19:50 +0200 Subject: Merge commit 'db1a31c243a649e1fe20f5466ba181da5be35c14' into subtree-update_cg_gcc_2025-04-18 --- tests/run/array.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'tests/run/array.rs') diff --git a/tests/run/array.rs b/tests/run/array.rs index e18a4ced6bc..3ab0c309fde 100644 --- a/tests/run/array.rs +++ b/tests/run/array.rs @@ -8,20 +8,12 @@ // 10 #![feature(no_core)] - #![no_std] #![no_core] #![no_main] 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; -- cgit 1.4.1-3-g733a5