Skip to content

Commit

Permalink
Auto merge of #871 - RalfJung:miri-rustc-cleanup, r=RalfJung
Browse files Browse the repository at this point in the history
Cleanup after rustc bootstrap tests Miri with a separate libstd

Should only be merged after rust-lang/rust#63162 got the green light.
  • Loading branch information
bors committed Aug 8, 2019
2 parents 7143ccc + bff6b05 commit b09ae31
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,7 @@ The setup for a local rustc works as follows:
git clone https://github.com/rust-lang/rust/ rustc
cd rustc
cp config.toml.example config.toml
# Now edit `config.toml` and set `debug-assertions = true` and `test-miri = true`.
# The latter is important to build libstd with the right flags for miri.
# Now edit `config.toml` and set `debug-assertions = true`.
# This step can take 30 minutes and more.
./x.py build src/rustc
# If you change something, you can get a faster rebuild by doing
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions tests/compiletest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,6 @@ fn run_pass_miri(opt: bool) {

fn compile_fail_miri(opt: bool) {
compile_fail("tests/compile-fail", &get_target(), opt);
if rustc_test_suite().is_none() {
// FIXME: Some tests disabled in rustc test suite because
// they run with a debug-assertion libstd which changes the errors.
// We should build our own libstd for testing, see
// <https://github.com/rust-lang/rust/issues/61833>.
compile_fail("tests/compile-fail-norustc", &get_target(), opt);
}
}

fn test_runner(_tests: &[&()]) {
Expand Down

0 comments on commit b09ae31

Please sign in to comment.