shims/super/rustc_wrapper: fix comment
In #20424, we moved `HOMEBREW_RUSTFLAGS` to the end of the compiler invocation, but didn't update the comment. Let's fix that. While we're here, let's fix these `shellcheck disable`s.
This commit is contained in:
parent
38485e365f
commit
b89d4ef633
@ -9,7 +9,6 @@
|
||||
RUSTC="${1}"
|
||||
shift
|
||||
|
||||
# Prepend HOMEBREW_RUSTFLAGS to the arguments if set.
|
||||
# HOMEBREW_RUSTFLAGS is set in extend/ENV/{std,super}.rb
|
||||
# shellcheck disable=SC2086,SC2154
|
||||
exec "${RUSTC}" "$@" ${HOMEBREW_RUSTFLAGS}
|
||||
# Append HOMEBREW_RUSTFLAGS to the arguments if set.
|
||||
read -ra RUSTFLAGS <<<"${HOMEBREW_RUSTFLAGS:-}"
|
||||
exec "${RUSTC}" "$@" "${RUSTFLAGS[@]}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user