Merge pull request #20424 from Homebrew/rustc_wrapper

rustc_wrapper: pass `HOMEBREW_RUSTFLAGS` last
This commit is contained in:
Mike McQuaid 2025-08-11 17:01:40 +00:00 committed by GitHub
commit bcc3a0dbef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,4 +12,4 @@ shift
# Prepend HOMEBREW_RUSTFLAGS to the arguments if set. # Prepend HOMEBREW_RUSTFLAGS to the arguments if set.
# HOMEBREW_RUSTFLAGS is set in extend/ENV/{std,super}.rb # HOMEBREW_RUSTFLAGS is set in extend/ENV/{std,super}.rb
# shellcheck disable=SC2086,SC2154 # shellcheck disable=SC2086,SC2154
exec "${RUSTC}" ${HOMEBREW_RUSTFLAGS} "$@" exec "${RUSTC}" "$@" ${HOMEBREW_RUSTFLAGS}