diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-18 21:19:50 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-18 21:20:11 +0200 |
| commit | 8f9a32aaf844174b26d7a39839c19c8f1c8d8cd0 (patch) | |
| tree | a35977706d25d00f0103ab994f610d840dd2260d /tests/run/array.rs | |
| parent | 22d3c0d70a023f3f1641b4b70e4b48949dcface3 (diff) | |
| download | rust-8f9a32aaf844174b26d7a39839c19c8f1c8d8cd0.tar.gz rust-8f9a32aaf844174b26d7a39839c19c8f1c8d8cd0.zip | |
Merge commit 'db1a31c243a649e1fe20f5466ba181da5be35c14' into subtree-update_cg_gcc_2025-04-18
Diffstat (limited to 'tests/run/array.rs')
| -rw-r--r-- | tests/run/array.rs | 10 |
1 files changed, 1 insertions, 9 deletions
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; |
