We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbabee1 commit fb8e860Copy full SHA for fb8e860
miri.bat
@@ -2,7 +2,10 @@
2
:: Windows will not execute the bash script, and select this.
3
@echo off
4
set MIRI_SCRIPT_TARGET_DIR=%0\..\miri-script\target
5
-cargo build %CARGO_EXTRA_FLAGS% -q --target-dir %MIRI_SCRIPT_TARGET_DIR% --manifest-path %0\..\miri-script\Cargo.toml
+
6
+:: If any other steps are added, the "|| exit /b" must be appended to early
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
9
10
:: Forwards all arguments to this file to the executable.
11
:: We invoke the binary directly to avoid going through rustup, which would set some extra
0 commit comments