Skip to content

Commit 6933ce8

Browse files
committed
Auto merge of #157828 - JonathanBrouwer:rollup-2tPqsx9, r=JonathanBrouwer
Rollup of 23 pull requests Successful merges: - rust-lang/rust#144220 (Add powerpc64-unknown-linux-gnuelfv2 target) - rust-lang/rust#153238 (debuginfo: slices are DW_TAG_array_type's) - rust-lang/rust#157112 (Update aarch64-unknown-freebsd target description) - rust-lang/rust#157322 (test pre-stabilization items on CI) - rust-lang/rust#157348 (Don't track cwd for `-Zremap-cwd-prefix` in incremental compilation) - rust-lang/rust#157490 (Add field-wise CoerceShared reborrow tests) - rust-lang/rust#157655 (Make Share::share final and improve docs) - rust-lang/rust#157672 (Region inference: Simplify initialisation of region values) - rust-lang/rust#157680 (Require `#[pin_v2]` for explicit pin-projection patterns) - rust-lang/rust#157688 (Create experimental test job `aarch64-apple-macos-26` for evaluating `macos-26` runner images) - rust-lang/rust#157796 (rustdoc: Some more lazy formatting) - rust-lang/rust#157818 (miri subtree update) - rust-lang/rust#157069 (Test that you can't implement Unpin for a compiler-generated future using TAIT) - rust-lang/rust#157079 (Don't recover `&raw EXPR` as a missing comma) - rust-lang/rust#157202 (add #[rustc_no_writable] to slice::get_unchecked_mut) - rust-lang/rust#157622 (Disable retagging for variadic arguments in const-eval) - rust-lang/rust#157684 (-Zassumptions-on-binders: insert empty assumptions when entering binders in the solver) - rust-lang/rust#157695 (Extend capabilities of `TypeFoldable_Generic`) - rust-lang/rust#157766 (interpret: avoid computing layout of sized raw pointee) - rust-lang/rust#157785 (fuchsia: Support AddressSanitizer on riscv64gc-unknown-fuchsia) - rust-lang/rust#157795 (revert 157013) - rust-lang/rust#157798 (Prevent approving PRs that wait for Crater or formal decisions) - rust-lang/rust#157803 (Rename `errors.rs` file to `diagnostics.rs` (7/N)) Failed merges: - rust-lang/rust#157752 (Rename `errors.rs` file to `diagnostics.rs` (6/N))
2 parents caa07a0 + 8671ea5 commit 6933ce8

63 files changed

Lines changed: 1491 additions & 246 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
branches:
77
- 'master'
88
schedule:
9-
- cron: '44 4 * * *' # At 4:44 UTC every day.
9+
- cron: '14 4 * * *' # At 4:14 UTC every day.
1010

1111
defaults:
1212
run:
@@ -157,15 +157,22 @@ jobs:
157157
158158
# This job is intentionally separate from `test` so that Priroda can be
159159
# developed as a separate crate inside the Miri repository for now.
160-
priroda-build:
160+
priroda:
161161
name: Priroda
162162
runs-on: ubuntu-latest
163163
steps:
164164
- uses: actions/checkout@v6
165165
- uses: ./.github/workflows/setup
166+
- name: install Miri driver
167+
run: ./miri install
166168
- name: build Priroda
167169
working-directory: priroda
168170
run: cargo build --locked
171+
- name: test Priroda
172+
working-directory: priroda
173+
run: |
174+
sysroot="$(cargo miri setup --print-sysroot)"
175+
MIRI_SYSROOT="$sysroot" cargo test --locked
169176
170177
coverage:
171178
name: coverage report
@@ -180,7 +187,7 @@ jobs:
180187
# ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
181188
# And they should be added below in `cron-fail-notify` as well.
182189
conclusion:
183-
needs: [test, style, bootstrap, coverage, priroda-build]
190+
needs: [test, style, bootstrap, coverage, priroda]
184191
# We need to ensure this job does *not* get skipped if its dependencies fail,
185192
# because a skipped job is considered a success by GitHub. So we have to
186193
# overwrite `if:`. We use `!cancelled()` to ensure the job does still not get run
@@ -264,7 +271,7 @@ jobs:
264271
cron-fail-notify:
265272
name: cronjob failure notification
266273
runs-on: ubuntu-latest
267-
needs: [test, style, bootstrap, coverage, priroda-build]
274+
needs: [test, style, bootstrap, coverage, priroda]
268275
if: ${{ github.event_name == 'schedule' && failure() }}
269276
steps:
270277
# Send a Zulip notification

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Miri
22

3+
<img src="miri-sticker.png" align="right" width="200px"
4+
alt="Corro, the Unsafe Rusturchin, drinking from a juice bottle labeled 'Miri - 100% safe'"
5+
title="Art by Paige Losare-Lusby, Creative Commons Attribute-ShareAlike">
6+
37
Miri is an [Undefined Behavior][reference-ub] detection tool for Rust. It can run binaries and test
48
suites of cargo projects and detect unsafe code that fails to uphold its safety requirements. For
59
instance:

miri-sticker.png

188 KB
Loading

0 commit comments

Comments
 (0)