Commit 34e4100
committed
fix(bootstrap): also unset MFLAGS when fifo jobserver not present
CI jobs were sometimes hanging because cargo would inherit the jobserver based the MFLAGS
environment variable when it contained file descriptors. However, these FDs were not
valid, since bootstrap.py does not pass them through from make.
This leads cargo's job server to use invalid FDs when setting up the
jobserver.
Bootstrap had a mitigation for this when it came from MAKEFLAGS,
but not when it came from MFLAGS.1 parent 00ffc13 commit 34e4100
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| 569 | + | |
569 | 570 | | |
570 | 571 | | |
571 | 572 | | |
| |||
0 commit comments