diff options
| author | bors <bors@rust-lang.org> | 2025-04-19 01:12:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-04-19 01:12:39 +0000 |
| commit | 2ef78586529b5f68cc42bcbe9b10b4afe56a942a (patch) | |
| tree | 2c3fde3eac0a3f91ec51ab95e6df19f7c1cd992f /compiler/rustc_codegen_gcc/tests/run/array.rs | |
| parent | 191df20fcad9331d3a948aa8e8556775ec3fe69d (diff) | |
| parent | cc359b8bb6c693086f69adf013430163992b1807 (diff) | |
| download | rust-2ef78586529b5f68cc42bcbe9b10b4afe56a942a.tar.gz rust-2ef78586529b5f68cc42bcbe9b10b4afe56a942a.zip | |
Auto merge of #140015 - GuillaumeGomez:subtree-update_cg_gcc_2025-04-18, r=antoyo
Subtree update GCC backend cc `@antoyo`
Diffstat (limited to 'compiler/rustc_codegen_gcc/tests/run/array.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/tests/run/array.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/compiler/rustc_codegen_gcc/tests/run/array.rs b/compiler/rustc_codegen_gcc/tests/run/array.rs index e18a4ced6bc..3ab0c309fde 100644 --- a/compiler/rustc_codegen_gcc/tests/run/array.rs +++ b/compiler/rustc_codegen_gcc/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; |
