link.exe
path issue in Windows with rust 1.65+
#105825
Labels
C-bug
Category: This is a bug.
regression-untriaged
Untriaged performance or correctness regression.
First of all, I am not sure if this is the correct repository to open this issue, it may be related to
cargo
orrustup
.Code
This repository shows how to reproduce the issue. For demo, there is a simple github action which modifies the
PATH
and tries to buildproc-macro2
.I expected to see this happen: With rust 1.64 and older, I can build that crate successfully, as one can see from the logs of this run.
Instead, this happened: With rust 1.65+, rust fails to find correct
link.exe
after thePATH
modification, as one can see from the logs of this run. I expect it to find the correctlink.exe
, as described in this comment.Version it worked on
It most recently worked on: 1.64
Version with regression
1.65
The text was updated successfully, but these errors were encountered: