rust/src/tools
bors 87990a119a Auto merge of #47671 - alexcrichton:trans-c-api-only, r=Mark-Simulacrum
rustc: Load the `rustc_trans` crate at runtime

Building on the work of #45684 this commit updates the compiler to
unconditionally load the `rustc_trans` crate at runtime instead of linking to it
at compile time. The end goal of this work is to implement #46819 where rustc
will have multiple backends available to it to load.

This commit starts off by removing the `extern crate rustc_trans` from the
driver. This involved moving some miscellaneous functionality into the
`TransCrate` trait and also required an implementation of how to locate and load
the trans backend. This ended up being a little tricky because the sysroot isn't
always the right location (for example `--sysroot` arguments) so some extra code
was added as well to probe a directory relative to the current dll (the
rustc_driver dll).

Rustbuild has been updated accordingly as well to have a separate compilation
invocation for the `rustc_trans` crate and assembly it accordingly into the
sysroot. Finally, the distribution logic for the `rustc` package was also
updated to slurp up the trans backends folder.

A number of assorted fallout changes were included here as well to ensure tests
pass and such, and they should all be commented inline.
2018-01-28 03:40:26 +00:00
..
build-manifest Add i586-unknown-linux-musl target 2018-01-11 15:57:28 -02:00
cargo@1d6dfea44f Updated Cargo commit hash 2018-01-26 19:57:02 +02:00
cargotest Update miri to rustc changes 2017-12-06 09:25:29 +01:00
clippy@7d7fef1690 Update miri to rustc changes 2017-12-06 09:25:29 +01:00
compiletest Auto merge of #47671 - alexcrichton:trans-c-api-only, r=Mark-Simulacrum 2018-01-28 03:40:26 +00:00
error_index_generator fix error_index_generator 2018-01-22 15:24:28 +05:30
linkchecker Report errors instead of panic!() 2018-01-12 16:47:58 +02:00
miri@919604e1ea cargo update and add miri as the rustc workspace member. 2017-12-27 00:00:44 +08:00
remote-test-client Add a disabled builder for aarch64 emulated tests 2017-07-24 16:24:52 -07:00
remote-test-server Add remote device testing support 2017-05-04 12:43:22 +02:00
rls@511321ae1c Update rls 2018-01-26 12:58:02 +09:00
rust-installer@b55e0fc775 Update rust-installer for streaming parallelism 2018-01-16 18:06:32 -08:00
rustbook Check for deadlinks from the summary during book generation 2018-01-15 16:39:20 +01:00
rustdoc Cargotest needs only one rustdoc.exe to exist on Windows 2017-08-13 05:15:44 +05:00
rustdoc-js Fix for older JS versions 2018-01-16 15:38:08 +01:00
rustfmt@e0e3e22248 Update rustfmt to 0.3.6 2018-01-18 23:41:19 +09:00
tidy add target/ to ignored tidy dirs 2018-01-18 14:35:01 +05:30
unstable-book-gen Enforce dashes in the unstable book file names 2018-01-13 15:44:44 +01:00
publish_toolstate.py Clarify toolstate names. Move publish.py to a more convenient location. 2017-12-27 00:00:46 +08:00