Skip to content

Commit 43100f5

Browse files
committed
Remove --offline from ./miri install as otherwise we can't add more dependencies to miri as CI will fail.
if you want this locally, pass it to your invocation.
1 parent 86911fd commit 43100f5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

miri

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,9 @@ find_sysroot() {
133133
# Run command.
134134
case "$COMMAND" in
135135
install)
136-
# "--locked" to respect the Cargo.lock file if it exists,
137-
# "--offline" to avoid querying the registry (for yanked packages).
138-
$CARGO install $CARGO_EXTRA_FLAGS --path "$MIRIDIR" --force --locked --offline "$@"
139-
$CARGO install $CARGO_EXTRA_FLAGS --path "$MIRIDIR"/cargo-miri --force --locked --offline "$@"
136+
# "--locked" to respect the Cargo.lock file if it exists.
137+
$CARGO install $CARGO_EXTRA_FLAGS --path "$MIRIDIR" --force --locked "$@"
138+
$CARGO install $CARGO_EXTRA_FLAGS --path "$MIRIDIR"/cargo-miri --force --locked "$@"
140139
;;
141140
check)
142141
# Check, and let caller control flags.

0 commit comments

Comments
 (0)