The last --jobserver-auth flag should be used · Issue #66 · rust-lang/jobserver-rs (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@ojeda

Description

@ojeda

The first --jobserver-auth it finds is used, instead of the last like the Make manual asks:

Be aware that the MAKEFLAGS variable may contain multiple instances of the --jobserver-auth= option. Only the last instance is relevant.

$ echo 'fn main() {}' | MAKEFLAGS='--jobserver-auth= --jobserver-auth=3,4' rustc - warning: failed to connect to jobserver from environment variable MAKEFLAGS="--jobserver-auth= --jobserver-auth=3,4": cannot parse jobserver environment variable value: expected fifo:PATH or R,W, found `` | = note: the build environment is likely misconfigured

From rust-lang/rust#120515.