fix: last --jobserver-auth
wins by weihanglo · Pull Request #67 · rust-lang/jobserver-rs (original) (raw)
From the GNU make manual1:
Be aware that the
MAKEFLAGS
variable may contain multiple
instances of the--jobserver-auth=
option.
Only the last instance is relevant.
Hence this commit makes it so.
With this commit, --jobserver-auth
also takes precedence over--jobserver-fds
, even when --jobserver-fds
is the last instance
of these flags. This is made intentionally since --jobserver-fds
was an undocumented internal-only flag before --jobserver-auth
made public, according to this announcement2.
fixes #66