about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index d149e1e9925..9d17e142f6c 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -320,6 +320,8 @@
 // Always use alloc_system during stage0 since we don't know if the alloc_*
 // crate the stage0 compiler will pick by default is enabled (e.g.
 // if the user has disabled jemalloc in `./configure`).
+// `force_alloc_system` is *only* intended as a workaround for local rebuilds
+// with a rustc without jemalloc.
 #![cfg_attr(any(stage0, feature = "force_alloc_system"),
             feature(global_allocator))]
 #[cfg(any(stage0, feature = "force_alloc_system"))]