about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-04-22 20:07:01 +0000
committerbors <bors@rust-lang.org>2017-04-22 20:07:01 +0000
commit252d3da8a6c715ccafcf77d83b826f6fb899cfe5 (patch)
tree423afd3933fff3986184cc690e8e4010eccf16f3 /src/liballoc/lib.rs
parentcb4065b9ce4e2bb2c37994762462da76272d6907 (diff)
parenta660ad84b3c27de5c0abfb683fb178ba4e4ca87e (diff)
downloadrust-252d3da8a6c715ccafcf77d83b826f6fb899cfe5.tar.gz
rust-252d3da8a6c715ccafcf77d83b826f6fb899cfe5.zip
Auto merge of #41469 - arielb1:rustc-spring-cleaning, r=eddyb
Performance audit, Spring 2017

Fix up some quite important performance "surprises" I've found running callgrind on rustc.
Diffstat (limited to 'src/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 0c01eabd593..c70d82392f9 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -87,6 +87,7 @@
 #![feature(needs_allocator)]
 #![feature(optin_builtin_traits)]
 #![feature(placement_in_syntax)]
+#![cfg_attr(stage0, feature(pub_restricted))]
 #![feature(shared)]
 #![feature(staged_api)]
 #![feature(unboxed_closures)]