-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-spuriousArea: Spurious failures in builds (spuriously == for no apparent reason)Area: Spurious failures in builds (spuriously == for no apparent reason)O-windowsOperating system: WindowsOperating system: Windows
Description
Mentioned in #17327, there are two places where rustc sets and resets PATH. Doing this means that running multiple compilations in parallel will stomp on each others' environment variables. This can happen, e.g. in rustdoc which runs tests by driving rustc directly. The proper way to set the environment for subprocesses is through the process Command type.
cc @vadimcn
Metadata
Metadata
Assignees
Labels
A-spuriousArea: Spurious failures in builds (spuriously == for no apparent reason)Area: Spurious failures in builds (spuriously == for no apparent reason)O-windowsOperating system: WindowsOperating system: Windows