Skip to content

Commit f6016e2

Browse files
committed
Auto merge of rust-lang#102573 - RalfJung:mirisync, r=oli-obk
Miri sync This is a Miri sync created with my experimental fork of josh. We should probably not merge this yet, but we can use this to check if the sync looks the way it should. r? `@oli-obk`
2 parents 7ee48ea + 2093184 commit f6016e2

Some content is hidden

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

45 files changed

+955
-861
lines changed

.github/workflows/ci.yml

+7-13
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
schedule:
1313
- cron: '5 15 * * *' # At 15:05 UTC every day.
1414

15+
env:
16+
CARGO_UNSTABLE_SPARSE_REGISTRY: 'true'
17+
1518
jobs:
1619
build:
1720
runs-on: ${{ matrix.os }}
@@ -38,14 +41,6 @@ jobs:
3841
if: runner.os == 'Linux'
3942
run: echo "MIRIFLAGS=-Zmiri-tag-gc=1" >> $GITHUB_ENV
4043

41-
# We install gnu-tar because BSD tar is buggy on macOS builders of GHA.
42-
# See <https://github.com/actions/cache/issues/403>.
43-
- name: Install GNU tar
44-
if: runner.os == 'macOS'
45-
run: |
46-
brew install gnu-tar
47-
echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH
48-
4944
# Cache the global cargo directory, but NOT the local `target` directory which
5045
# we cannot reuse anyway when the nightly changes (and it grows quite large
5146
# over time).
@@ -62,15 +57,14 @@ jobs:
6257
# contains package information of crates installed via `cargo install`.
6358
~/.cargo/.crates.toml
6459
~/.cargo/.crates2.json
65-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock', 'cargo-miri/src/version.rs') }}
60+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
6661
restore-keys: ${{ runner.os }}-cargo
6762

68-
- name: Install rustup-toolchain-install-master and xargo
69-
if: ${{ steps.cache.outputs.cache-hit == 'false' }}
63+
- name: Install rustup-toolchain-install-master
64+
if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
7065
shell: bash
7166
run: |
72-
cargo install rustup-toolchain-install-master
73-
cargo install xargo
67+
cargo install -f rustup-toolchain-install-master
7468
7569
- name: Install "master" toolchain
7670
shell: bash

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ for you. If you don't want all of these to happen, you can add individual `.auto
3838
## Building and testing Miri
3939

4040
Invoking Miri requires getting a bunch of flags right and setting up a custom
41-
sysroot with xargo. The `miri` script takes care of that for you. With the
41+
sysroot. The `miri` script takes care of that for you. With the
4242
build environment prepared, compiling Miri is just one command away:
4343

4444
```

0 commit comments

Comments
 (0)