rust/src
bors 0986d645b9 Auto merge of #32236 - alexcrichton:better-compile-intrinsics, r=arielb1
rustc: Improve compile time of platform intrinsics

This commit improves the compile time of `rustc_platform_intrinsics` from 23s to
3.6s if compiling with `-O` and from 77s to 17s if compiling with `-O -g`. The
compiled rlib size also drops from 3.1M to 1.2M.

The wins here were gained by removing the destructors associated with `Type` by
removing the internal `Box` and `Vec` indirections. These destructors meant that
a lot of landing pads and extra code were generated to manage the runtime
representations. Instead everything can basically be statically computed and
shoved into rodata, so all we need is a giant string compare to lookup what's
what.

Closes #28273
2016-03-15 19:41:01 -07:00
..
bootstrap Auto merge of #32239 - alexcrichton:fix-cross-to-freebsd, r=brson 2016-03-15 03:21:40 -07:00
build_helper Add a Cargo-based build system 2016-02-11 10:42:28 -08:00
compiler-rt@b6087e82ba
compiletest Auto merge of #31887 - SimonSapin:quiet-test, r=alexcrichton 2016-03-15 12:58:49 -07:00
doc Rollup merge of #32218 - cantino:minor_book_typo_fixes, r=steveklabnik 2016-03-13 19:33:27 +05:30
driver
etc rustc: Improve compile time of platform intrinsics 2016-03-15 17:32:34 -07:00
grammar
jemalloc@aab1c0a0e0 std: Update jemalloc again to the 4.* track 2016-03-04 09:49:39 -08:00
liballoc alloc: Add unstable issue for FnBox APIs 2016-03-11 22:09:58 -08:00
liballoc_jemalloc rustbuild: fix cross compilation of libstd to i686-unknown-linux-musl 2016-03-06 08:19:51 -05:00
liballoc_system bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
libarena std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
libbacktrace Minor spelling fixes 2016-02-09 11:52:39 -05:00
libcollections Call str::to_owned in String::from and uninline it 2016-03-13 09:36:02 +01:00
libcollectionstest std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
libcore std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
libcoretest std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
libflate std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
libfmt_macros bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
libgetopts mk: Distribute fewer TARGET_CRATES 2016-03-07 13:05:12 -08:00
libgraphviz bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
liblibc@2278a54955 std: Don't spawn threads in wait_with_output 2016-03-09 10:12:36 -08:00
liblog bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
librand std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
librbml Use .copy_from_slice() where applicable 2016-02-26 14:51:38 +01:00
librustc Auto merge of #30652 - aturon:specialization, r=nikomatsakis 2016-03-14 17:55:41 -07:00
librustc_back std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
librustc_bitflags rustbuild: Sync some Cargo.toml/lib.rs dependencies 2016-02-21 09:49:13 -08:00
librustc_borrowck Move projection_mode to InferContext rather than SelectionContext to reduce chance of bugs 2016-03-14 15:05:13 -07:00
librustc_const_eval rustbuild 2016-03-14 09:29:18 +01:00
librustc_data_structures Move specialization graph walks to iterators; make associated type 2016-03-14 15:04:40 -07:00
librustc_driver Auto merge of #30652 - aturon:specialization, r=nikomatsakis 2016-03-14 17:55:41 -07:00
librustc_front Add pretty printer output for default 2016-03-14 15:05:16 -07:00
librustc_lint Move projection_mode to InferContext rather than SelectionContext to reduce chance of bugs 2016-03-14 15:05:13 -07:00
librustc_llvm rustbuild: Fix 32-bit Windows build 2016-03-14 14:56:48 -07:00
librustc_metadata Fixes after a rebase 2016-03-14 15:05:14 -07:00
librustc_mir Fixes after rebase 2016-03-14 15:05:15 -07:00
librustc_passes Move projection_mode to InferContext rather than SelectionContext to reduce chance of bugs 2016-03-14 15:05:13 -07:00
librustc_platform_intrinsics rustc: Improve compile time of platform intrinsics 2016-03-15 17:32:34 -07:00
librustc_plugin Auto merge of #31916 - nagisa:mir-passmgr-2, r=arielb1 2016-03-13 05:33:28 -07:00
librustc_privacy Auto merge of #31710 - eddyb:reify, r=nikomatsakis 2016-03-09 20:16:20 -08:00
librustc_resolve Auto merge of #32227 - jseyfried:fix_import_resolution_bug, r=alexcrichton 2016-03-13 12:24:42 -07:00
librustc_trans Auto merge of #32236 - alexcrichton:better-compile-intrinsics, r=arielb1 2016-03-15 19:41:01 -07:00
librustc_typeck Adjust error code 2016-03-14 15:05:15 -07:00
librustc_unicode Auto merge of #32133 - alexcrichton:linkchecker, r=brson 2016-03-11 04:38:04 -08:00
librustdoc Auto merge of #32169 - mitaa:anon-tip, r=nrc 2016-03-14 14:44:55 -07:00
libserialize Remove unnecessary explicit lifetime bounds. 2016-02-18 08:37:10 -05:00
libstd Auto merge of #32211 - achanda:ipv6-global, r=alexcrichton 2016-03-13 16:53:09 -07:00
libsyntax Add pretty printer output for default 2016-03-14 15:05:16 -07:00
libsyntax_ext Auto merge of #32251 - durka:derive-2810, r=alexcrichton 2016-03-15 09:45:57 -07:00
libterm rustbuild: Sync some Cargo.toml/lib.rs dependencies 2016-02-21 09:49:13 -08:00
libtest Auto merge of #31887 - SimonSapin:quiet-test, r=alexcrichton 2016-03-15 12:58:49 -07:00
llvm@be89e4b532 rustbuild: Fix cross compiling to FreeBSD 2016-03-14 15:07:36 -07:00
rt Abort on stack overflow instead of re-raising SIGSEGV 2016-02-05 20:41:18 -05:00
rtstartup
rust-installer@c37d3747da
rustc rustbuild: Refactor stage arguments away 2016-03-14 14:56:49 -07:00
rustllvm rustbuild: Fix cross compiling to FreeBSD 2016-03-14 15:07:36 -07:00
test Auto merge of #31887 - SimonSapin:quiet-test, r=alexcrichton 2016-03-15 12:58:49 -07:00
tools linkchecker: Fix path checks on Windows 2016-03-14 14:56:49 -07:00
nightlies.txt rustbuild: Refactor stage arguments away 2016-03-14 14:56:49 -07:00
snapshots.txt Fix. FreeBSD snapshot 2016-03-12 22:02:39 -08:00