Closed ojeda closed 6 months ago
This is definitely a bug in the implementation and jobserver should try its best following how GNU make works.
The question is whether this is a breaking change needing a major version bump. Personally I don't think so. Having it in a major version bump will introduce much more inconsistency.
Does jobserver need to do the same for --jobserver-fds
and uses the last instance of it?
If both --jobserver-fds
and --jobserver-auth
is present, which one shall we use?
Shall we just try both?
Good question!
According to this announcement, --jobserver-fds
was something internally used by make itself before made public.
There is no reason both of them are present. And to me, it seems better for --jobserver-auth
to take precedence over the other.
Thanks!
The first
--jobserver-auth
it finds is used, instead of the last like the Make manual asks:From https://github.com/rust-lang/rust/issues/120515.