Skip to content

Commit

Permalink
Auto merge of #3864 - RalfJung:miri-bat-nightly, r=RalfJung
Browse files Browse the repository at this point in the history
miri.bat: use nightly toolchain

Hopefully fixes #3863 (but I can't test that)
  • Loading branch information
bors committed Sep 6, 2024
2 parents f3958b6 + 0d09dbf commit 782b383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miri.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set MIRI_SCRIPT_TARGET_DIR=%0\..\miri-script\target

:: If any other steps are added, the "|| exit /b" must be appended to early
:: return from the script. If not, it will continue execution.
cargo +stable build %CARGO_EXTRA_FLAGS% -q --target-dir %MIRI_SCRIPT_TARGET_DIR% --manifest-path %0\..\miri-script\Cargo.toml ^
|| (echo Failed to build miri-script. Is the 'stable' toolchain installed? & exit /b)
cargo +nightly build %CARGO_EXTRA_FLAGS% -q --target-dir %MIRI_SCRIPT_TARGET_DIR% --manifest-path %0\..\miri-script\Cargo.toml ^
|| (echo Failed to build miri-script. Is the 'nightly' toolchain installed? & exit /b)

:: Forwards all arguments to this file to the executable.
:: We invoke the binary directly to avoid going through rustup, which would set some extra
Expand Down

0 comments on commit 782b383

Please sign in to comment.