mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
also pass flags to install
This commit is contained in:
parent
d55d04780c
commit
bf9f26401f
2
miri
2
miri
@ -103,7 +103,7 @@ case "$COMMAND" in
|
||||
install|install-debug)
|
||||
# "--locked" to respect the Cargo.lock file if it exists,
|
||||
# "--offline" to avoid querying the registry (for yanked packages).
|
||||
exec cargo install --path "$(dirname "$0")" --force --locked --offline "$@"
|
||||
exec cargo install $CARGO_INSTALL_FLAGS --path "$(dirname "$0")" --force --locked --offline "$@"
|
||||
;;
|
||||
build|build-debug)
|
||||
# Build, and let caller control flags.
|
||||
|
Loading…
Reference in New Issue
Block a user