rust/src
bors afd4b81c86 Auto merge of #42263 - alexcrichton:fix-copies, r=Mark-Simulacrum
rustbuild: Fix copying duplicate crates into the sysroot

After compiling a project (e.g. libstd, libtest, or librustc) rustbuild needs to
copy over all artifacts into the sysroot of the compiler it's assembling.
Unfortunately rustbuild doesn't know precisely what files to copy! Today it has
a heuristic where it just looks at the most recent version of all files that
look like rlibs/dylibs and copies those over. This unfortunately leads to bugs
with different versions of the same crate as seen in #42261.

This commit updates rustbuild's strategy of copying artifacts to work off the
list of artifacts produced by `cargo build --message-format=json`. The build
system will now parse json messages coming out of Cargo to watch for files being
generated, and then it'll only copy over those precise files.

Note that there's still a bit of weird logic where Cargo prints that it's
creating `libstd.rlib` where we actually want `libstd-xxxxx.rlib`, so we still
do a bit of "most recent file" probing for those. This commit should take care
of the crates.io dependency issues, however, as they're all copied over
precisely.

Closes #42261
2017-06-01 07:44:01 +00:00
..
bootstrap Auto merge of #42263 - alexcrichton:fix-copies, r=Mark-Simulacrum 2017-06-01 07:44:01 +00:00
build_helper
ci Auto merge of #42218 - venkatagiri:update_cross, r=alexchrichton 2017-05-28 22:15:10 +00:00
compiler-rt@c8a8767c56
doc Rollup merge of #42275 - scottmcm:try-trait, r=nikomatsakis 2017-06-01 00:09:20 -04:00
driver
etc Fix formatting issues in Distribution.xml 2017-05-29 21:55:35 -05:00
grammar
jemalloc@3288e0659c
liballoc
liballoc_jemalloc
liballoc_system
libarena
libbacktrace
libcollections Rollup merge of #42260 - stjepang:document-cmp-traits-agreement, r=alexcrichton 2017-05-27 20:54:04 -06:00
libcompiler_builtins
libcore Rollup merge of #42275 - scottmcm:try-trait, r=nikomatsakis 2017-06-01 00:09:20 -04:00
libflate
libfmt_macros
libgetopts
libgraphviz
liblibc@03562b0cb2
libpanic_abort
libpanic_unwind
libproc_macro
libproc_macro_plugin
librand
librustc Rollup merge of #42302 - GuillaumeGomez:new-error-codes-next, r=Susurrus 2017-06-01 00:09:23 -04:00
librustc_asan
librustc_back ARMv5 needs +strict-align 2017-05-30 17:50:44 +02:00
librustc_bitflags
librustc_borrowck Rollup merge of #42196 - tommyip:explain_closure_err, r=nikomatsakis 2017-05-31 10:52:45 -06:00
librustc_const_eval Turn sufficiently old compatibility lints into hard errors 2017-05-30 22:00:30 +03:00
librustc_const_math
librustc_data_structures fix translation of MSVC funclets that loop to their own start 2017-05-28 12:00:03 +03:00
librustc_driver Rollup merge of #42150 - citizen428:feature/error-count-messages, r=Mark-Simulacrum 2017-05-24 19:50:05 -06:00
librustc_errors Add new error code 2017-05-30 19:19:34 +02:00
librustc_incremental
librustc_lint Turn invalid_type_param_default into a lint again 2017-05-30 22:00:30 +03:00
librustc_llvm Rollup merge of #42224 - brson:lockfile, r=nikomatsakis 2017-05-26 10:20:27 -04:00
librustc_lsan
librustc_metadata Auto merge of #42175 - michaelwoerister:filemap-hashing-fix-1, r=nikomatsakis 2017-05-28 16:47:17 +00:00
librustc_mir use a pointer-based array drop loop for non-zero-sized types 2017-05-28 10:43:25 +03:00
librustc_msan
librustc_passes Turn sufficiently old compatibility lints into hard errors 2017-05-30 22:00:30 +03:00
librustc_platform_intrinsics
librustc_plugin
librustc_privacy Hygienize librustc_privacy. 2017-05-25 05:52:08 +00:00
librustc_resolve Turn public reexporting of private extern crates into a lint again 2017-05-30 22:00:30 +03:00
librustc_save_analysis Upgrade ProjectionTy's Name to a DefId 2017-05-31 12:35:13 -04:00
librustc_trans Auto merge of #41917 - arielb1:mir-array, r=nagisa 2017-05-28 12:01:02 +00:00
librustc_tsan
librustc_typeck Rollup merge of #42324 - seanmonstar:41323-compare_const_impl, r=nikomatsakis 2017-06-01 00:09:25 -04:00
librustdoc Rollup merge of #42297 - tschottdorf:proj-ty, r=nikomatsakis 2017-06-01 00:09:22 -04:00
libserialize
libstd Rewrite doc examples for Receiver::recv_timeout. 2017-05-31 23:01:55 -04:00
libstd_unicode
libsyntax Rollup merge of #42302 - GuillaumeGomez:new-error-codes-next, r=Susurrus 2017-06-01 00:09:23 -04:00
libsyntax_ext Hygienize lifetimes. 2017-05-25 05:52:09 +00:00
libsyntax_pos Improve intercrate hygiene. 2017-05-25 05:52:11 +00:00
libterm
libtest
libunwind
llvm@1ef3b9128e
rt
rtstartup
rustc
rustllvm add NullOp::SizeOf and BinOp::Offset 2017-05-28 10:43:24 +03:00
test Rollup merge of #42324 - seanmonstar:41323-compare_const_impl, r=nikomatsakis 2017-06-01 00:09:25 -04:00
tools Updated locked version of libgit2 2017-05-28 10:27:42 -07:00
Cargo.lock Updated locked version of libgit2 2017-05-28 10:27:42 -07:00
Cargo.toml
stage0.txt