rust/src/tools
Mazdak Farrokhzad fea43aae5d
Rollup merge of #63162 - RalfJung:miri-xargo, r=alexcrichton
Miri tests: use xargo to build separate libstd

This uses `cargo miri setup` to prepare the libstd that is used for testing Miri, instead of adjusting the entire bootstrap process to make sure the libstd that already gets built is fit for Miri.

The issue with our current approach is that with `test-miri = true`, libstd and the test suite get built with `--cfg miri`, which e.g. means hashbrown uses no SIMD, and not all things are tested. Such global side-effects seem like footguns waiting to go off.

On the other hand, the new approach means we install xargo as a side-effect of doing `./x.py test src/tools/miri`, which might be surprising, and we also both have to build xargo and another libstd which costs some extra time. Not sure if the tools builders have enough time budget for that. Maybe there is a way to cache xargo?

We have to first first land https://github.com/rust-lang/miri/pull/870 in Miri and then update this PR to include that change (also to get CI to test Miri before bors), but I wanted to get the review started here.

Cc @oli-obk (for Miri) @alexcrichton (for CI) @Mark-Simulacrum (for bootstrap)

Fixes https://github.com/rust-lang/rust/issues/61833, fixes https://github.com/rust-lang/rust/issues/63219
2019-08-09 01:38:29 +02:00
..
build-manifest redox: convert to target_family unix 2019-08-06 16:18:23 -06:00
cargo@42a8c0adf9 Update cargo 2019-08-07 17:23:54 -07:00
cargotest cargotest: servo -> caac107ae8145ef2fd20365e2b8fadaf09c2eb3b 2019-08-03 14:53:01 +02:00
clippy@b041511b5f submodules: Update clippy 2019-08-07 09:00:43 +00:00
compiletest compiletest: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
error_index_generator Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
linkchecker Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
miri@b12ebfc3de update miri 2019-08-08 19:32:33 +02:00
remote-test-client Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
remote-test-server Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
rls@bdfcef769f Update RLS 2019-08-05 12:08:57 +02:00
rust-installer@85958b001d Update the rust-installer submodule 2019-07-04 11:59:09 -07:00
rustbook Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
rustc-std-workspace-alloc Add very simple edition check to tidy; and add missing edition = 2018s. 2019-07-30 01:56:03 +08:00
rustc-std-workspace-core Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
rustc-workspace-hack Enable nightly feature for crossbeam-utils dep 2019-07-30 18:10:53 +02:00
rustdoc Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
rustdoc-js Move documentation build into bootstrap 2019-02-25 17:46:06 +01:00
rustdoc-js-std Make js tests work even with resource-suffix option 2019-03-10 23:10:40 +01:00
rustdoc-themes Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
rustfmt@0462008de8 Update rustfmt to 1.4.4 2019-08-06 11:19:31 +09:00
tidy Auto merge of #63207 - petrochenkov:outest2, r=Mark-Simulacrum 2019-08-02 15:22:50 +00:00
unstable-book-gen Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
publish_toolstate.py more comments 2019-07-23 15:36:51 -05:00