X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Frun-pass%2Fsmallest-hello-world.rs;h=a27d45ea17dc295f6917c1031167fe295f251d21;hb=a4024c58e1e5c92cfe3ed39ed9f5b96f3f38122e;hp=b11970560d59a730583178b60bae51eb11d2bf62;hpb=7caf54bc0f72c7a3b47c03ea501fc1808017f743;p=rust.git diff --git a/src/test/run-pass/smallest-hello-world.rs b/src/test/run-pass/smallest-hello-world.rs index b11970560d5..a27d45ea17d 100644 --- a/src/test/run-pass/smallest-hello-world.rs +++ b/src/test/run-pass/smallest-hello-world.rs @@ -12,10 +12,10 @@ // pretty-expanded FIXME #23616 -#![feature(intrinsics, lang_items, start, no_core, libc)] +#![feature(intrinsics, lang_items, start, no_core, alloc_system)] #![no_core] -extern crate libc; +extern crate alloc_system; extern { fn puts(s: *const u8); } extern "rust-intrinsic" { fn transmute(t: T) -> U; }