File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
# Instead of doing just `cargo run --manifest-path .. $@`, we invoke miri-script binary directly. Invoking `cargo run` goes through
4
4
# rustup (that sets it's own environmental variables), which is undesirable.
5
5
MIRI_SCRIPT_TARGET_DIR=" $( dirname " $0 " ) " /miri-script/target
6
- cargo build $CARGO_EXTRA_FLAGS -q --target-dir " $MIRI_SCRIPT_TARGET_DIR " --manifest-path " $( dirname " $0 " ) " /miri-script/Cargo.toml
6
+ cargo +stable build $CARGO_EXTRA_FLAGS -q --target-dir " $MIRI_SCRIPT_TARGET_DIR " --manifest-path " $( dirname " $0 " ) " /miri-script/Cargo.toml
7
7
" $MIRI_SCRIPT_TARGET_DIR " /debug/miri-script " $@ "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set MIRI_SCRIPT_TARGET_DIR=%0\..\miri-script\target
5
5
6
6
:: If any other steps are added, the "|| exit /b" must be appended to early
7
7
:: return from the script. If not, it will continue execution.
8
- cargo build %CARGO_EXTRA_FLAGS% -q --target-dir %MIRI_SCRIPT_TARGET_DIR% --manifest-path %0 \..\miri-script\Cargo.toml || exit /b
8
+ cargo +stable build %CARGO_EXTRA_FLAGS% -q --target-dir %MIRI_SCRIPT_TARGET_DIR% --manifest-path %0 \..\miri-script\Cargo.toml || exit /b
9
9
10
10
:: Forwards all arguments to this file to the executable.
11
11
:: We invoke the binary directly to avoid going through rustup, which would set some extra
You can’t perform that action at this time.
0 commit comments