From 2c31b45ae878b821975c4ebd94cc1e49f6073fd0 Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 11 Jun 2020 21:31:49 -0500 Subject: mv std libs to library/ --- library/rustc-std-workspace-alloc/lib.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 library/rustc-std-workspace-alloc/lib.rs (limited to 'library/rustc-std-workspace-alloc/lib.rs') diff --git a/library/rustc-std-workspace-alloc/lib.rs b/library/rustc-std-workspace-alloc/lib.rs new file mode 100644 index 00000000000..c38a8d2f204 --- /dev/null +++ b/library/rustc-std-workspace-alloc/lib.rs @@ -0,0 +1,9 @@ +#![feature(no_core)] +#![no_core] + +// See rustc-std-workspace-core for why this crate is needed. + +// Rename the crate to avoid conflicting with the alloc module in liballoc. +extern crate alloc as foo; + +pub use foo::*; -- cgit 1.4.1-3-g733a5