Skip to content

Commit d52f3d0

Browse files
committed
Merge from rustc
2 parents 5f683aa + 8e5f0d3 commit d52f3d0

File tree

7 files changed

+11
-5
lines changed

7 files changed

+11
-5
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ degree documented below):
212212
- All Rust [Tier 1 targets](https://doc.rust-lang.org/rustc/platform-support.html) are supported by
213213
Miri. They are all checked on Miri's CI, and some (at least one per OS) are even checked on every
214214
Rust PR, so the shipped Miri should always work on these targets.
215-
- `aarch64-apple-darwin` is supported.
216215
- `s390x-unknown-linux-gnu` is supported as our "big-endian target of choice".
217216
- For every other target with OS `linux`, `macos`, or `windows`, Miri should generally work, but we
218217
make no promises and we don't run tests for such targets.

ci/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ case $HOST_TARGET in
137137
MANY_SEEDS=16 TEST_TARGET=x86_64-pc-windows-gnu run_tests
138138
;;
139139
aarch64-apple-darwin)
140-
# Host (tier 2)
140+
# Host
141141
GC_STRESS=1 MIR_OPT=1 MANY_SEEDS=64 TEST_BENCH=1 CARGO_MIRI_ENV=1 run_tests
142142
# Extra tier 1
143143
MANY_SEEDS=64 TEST_TARGET=i686-pc-windows-gnu run_tests

src/eval.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ pub fn eval_entry<'tcx>(
463463
let res = match res {
464464
Err(res) => res,
465465
// `Ok` can never happen
466+
#[cfg(bootstrap)]
466467
Ok(never) => match never {},
467468
};
468469

tests/pass/async-fn.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ async fn hello_world() {
5959
}
6060

6161
// This example comes from https://github.com/rust-lang/rust/issues/115145
62+
#[allow(unreachable_patterns)]
6263
async fn uninhabited_variant() {
6364
async fn unreachable(_: Never) {}
6465

tests/pass/enums.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ fn discriminant_overflow() {
4343
}
4444
}
4545

46+
#[allow(unreachable_patterns)]
4647
fn more_discriminant_overflow() {
4748
pub enum Infallible {}
4849

tests/pass/tree_borrows/vec_unique.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// FIXME: This test is broken since https://github.com/rust-lang/rust/pull/126793,
2+
// possibly related to the additional struct between Vec and Unique.
13
//@revisions: default uniq
24
// We disable the GC for this test because it would change what is printed.
35
//@compile-flags: -Zmiri-tree-borrows -Zmiri-provenance-gc=0

tests/pass/tree_borrows/vec_unique.uniq.stderr

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
Warning: this tree is indicative only. Some tags may have been hidden.
33
0.. 2
44
| Act | └─┬──<TAG=root of the allocation>
5-
|-----| └─┬──<TAG=base.as_ptr(), base.as_ptr()>
6-
|-----| └─┬──<TAG=raw_parts.0>
7-
|-----| └────<TAG=reconstructed.as_ptr(), reconstructed.as_ptr()>
5+
|-----| ├────<TAG=base.as_ptr()>
6+
|-----| ├────<TAG=base.as_ptr()>
7+
|-----| └─┬──<TAG=raw_parts.0>
8+
|-----| ├────<TAG=reconstructed.as_ptr()>
9+
|-----| └────<TAG=reconstructed.as_ptr()>
810
──────────────────────────────────────────────────

0 commit comments

Comments
 (0)