Skip to content

Commit eb3be2f

Browse files
committed
./miri check
1 parent 70ab91d commit eb3be2f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

miri

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ working directory.
1111
./miri build <flags>:
1212
Just build miri. <flags> are passed to `cargo build`.
1313
14+
./miri check <flags>:
15+
Just check miri. <flags> are passed to `cargo check`.
16+
1417
./miri test <flags>:
1518
Build miri, set up a sysroot and then run the test suite. <flags> are passed
1619
to the final `cargo test` invocation.
@@ -99,6 +102,10 @@ install|install-debug)
99102
# "--offline" to avoid querying the registry (for yanked packages).
100103
exec cargo install $CARGO_INSTALL_FLAGS --path "$(dirname "$0")" --force --locked --offline "$@"
101104
;;
105+
check|check-debug)
106+
# Check, and let caller control flags.
107+
exec cargo check $CARGO_BUILD_FLAGS "$@"
108+
;;
102109
build|build-debug)
103110
# Build, and let caller control flags.
104111
exec cargo build $CARGO_BUILD_FLAGS "$@"

0 commit comments

Comments
 (0)