about summary refs log tree commit diff
path: root/src/libsyntax/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-10-28 17:02:01 -0700
committerGitHub <noreply@github.com>2016-10-28 17:02:01 -0700
commite9b2fcb2fec4c9bff790adfcd1f5f6f307f2d835 (patch)
tree342088ea365340206d5b3935c6fe25fac1f62ecf /src/libsyntax/lib.rs
parentf0ab4a4f2abb778361bca645b07661cd07c702bb (diff)
parentc440a7ae654fb641e68a9ee53b03bf3f7133c2fe (diff)
downloadrust-e9b2fcb2fec4c9bff790adfcd1f5f6f307f2d835.tar.gz
rust-e9b2fcb2fec4c9bff790adfcd1f5f6f307f2d835.zip
Auto merge of #37373 - nnethercote:html5ever-more-more, r=nrc
Avoid more allocations when compiling html5ever

These three commits reduce the number of allocations performed when compiling html5ever from 13.2M to 10.8M, which speeds up compilation by about 2%.

r? @nrc
Diffstat (limited to 'src/libsyntax/lib.rs')
-rw-r--r--src/libsyntax/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index b2f27878993..b86e508d899 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -36,6 +36,7 @@
 #![feature(specialization)]
 #![feature(dotdot_in_tuple_patterns)]
 
+extern crate core;
 extern crate serialize;
 extern crate term;
 extern crate libc;