Uh oh!
There was an error while loading. Please reload this page.
Fix setting PATH during linkage on windows-gnu - #42481
Conversation
brson
commented
Jun 6, 2017
Oh actually I miststated - this is not like previously, now this is only frobbing PATH at all for linker invocation on windows, whereas before it was doing it on all platforms. Again we think it only matters on windows. |
There was a problem hiding this comment.
This doesn't seem right. The second parameter to command_path is added to the end of %Path% and before #42225 it was only used by MSVC.
There was a problem hiding this comment.
Ah yes. I suspected that path had no effect. I'll update.
brson
commented
Jun 6, 2017
Ok, now the patch is written so that all non-msvc platforms set up the PATH during linking as previously. The |
alexcrichton
commented
Jun 7, 2017
@bors: r+ |
bors
commented
Jun 7, 2017
📌 Commit e8689c7 has been approved by |
bors
commented
Jun 8, 2017
⌛ Testing commit e8689c7 with merge 76eea74... |
Fix setting PATH during linkage on windows-gnu This makes the behavior almost exactly the same as before the VS2017 patch, except that on MSVC builds the host bin path is no longer added to PATH. I am not sure that's actually necessary on any platform. r? @alexcrichtonFixes#42422
bors
commented
Jun 8, 2017
☀️ Test successful - status-appveyor, status-travis |
[beta] Fix setting PATH during linkage on windows-gnu Beta backport of #42481
This makes the behavior almost exactly the same as before the VS2017 patch, except that on MSVC builds the host bin path is no longer added to PATH. I am not sure that's actually necessary on any platform.
r? @alexcrichton
Fixes#42422