summaryrefslogtreecommitdiffstats
path: root/library/rustc-std-workspace-alloc/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/rustc-std-workspace-alloc/lib.rs')
-rw-r--r--library/rustc-std-workspace-alloc/lib.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/library/rustc-std-workspace-alloc/lib.rs b/library/rustc-std-workspace-alloc/lib.rs
new file mode 100644
index 000000000..c38a8d2f2
--- /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::*;