Skip to content

Commit

Permalink
Auto merge of #97546 - RalfJung:miri, r=oli-obk
Browse files Browse the repository at this point in the history
update Miri

First update with the new ui test suite, let's hope this all works. :)
r? `@oli-obk`

Fixes #97486
  • Loading branch information
bors committed May 30, 2022
2 parents 5c780b9 + 962d54e commit 946a88a
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 10 deletions.
55 changes: 52 additions & 3 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ dependencies = [
"libc",
"once_cell",
"opener",
"pretty_assertions",
"pretty_assertions 0.7.2",
"serde",
"serde_json",
"tar",
Expand Down Expand Up @@ -883,6 +883,20 @@ dependencies = [
"cfg-if 0.1.10",
]

[[package]]
name = "crossbeam"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ae5588f6b3c3cb05239e90bd110f257254aecd01e4635400391aeae07497845"
dependencies = [
"cfg-if 1.0.0",
"crossbeam-channel",
"crossbeam-deque",
"crossbeam-epoch",
"crossbeam-queue",
"crossbeam-utils",
]

[[package]]
name = "crossbeam-channel"
version = "0.5.4"
Expand Down Expand Up @@ -917,6 +931,16 @@ dependencies = [
"scopeguard",
]

[[package]]
name = "crossbeam-queue"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f25d8400f4a7a5778f0e4e52384a48cbd9b5c495d110786187fc750075277a2"
dependencies = [
"cfg-if 1.0.0",
"crossbeam-utils",
]

[[package]]
name = "crossbeam-utils"
version = "0.8.8"
Expand Down Expand Up @@ -2415,17 +2439,18 @@ name = "miri"
version = "0.1.0"
dependencies = [
"colored",
"compiletest_rs",
"env_logger 0.9.0",
"getrandom 0.2.0",
"lazy_static",
"libc",
"log",
"measureme 9.1.2",
"rand 0.8.5",
"regex",
"rustc-workspace-hack",
"rustc_version",
"shell-escape",
"smallvec",
"ui_test",
]

[[package]]
Expand Down Expand Up @@ -2866,6 +2891,18 @@ dependencies = [
"output_vt100",
]

[[package]]
name = "pretty_assertions"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c89f989ac94207d048d92db058e4f6ec7342b0971fc58d1271ca148b799b3563"
dependencies = [
"ansi_term",
"ctor",
"diff",
"output_vt100",
]

[[package]]
name = "pretty_env_logger"
version = "0.4.0"
Expand Down Expand Up @@ -5462,6 +5499,18 @@ version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c"

[[package]]
name = "ui_test"
version = "0.1.0"
dependencies = [
"colored",
"crossbeam",
"lazy_static",
"pretty_assertions 1.2.1",
"regex",
"rustc_version",
]

[[package]]
name = "unic-char-property"
version = "0.9.0"
Expand Down
6 changes: 0 additions & 6 deletions src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,12 +572,6 @@ impl Step for Miri {
return;
}

// # Run `cargo test` with `-Zmir-opt-level=4`.
cargo.env("MIRIFLAGS", "-O -Zmir-opt-level=4");
if !try_run(builder, &mut cargo) {
return;
}

// # Done!
builder.save_toolstate("miri", ToolState::TestPass);
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/miri
Submodule miri updated 472 files

0 comments on commit 946a88a

Please sign in to comment.