Re: [PATCH v2 07/18] build: introduce rust
On Fri, Sep 19, 2025 at 2:24 PM Eric Sunshine <ericsunshine@gmail.com> wrote:
Show 8 quoted lines
> When building with `cargo` (I presume), and it comes time to link the
> program, the build process is looking for the Microsoft linker named
> LINK.exe but, due to PATH order, is instead finding the Unix command
> `link` (which is a specialized invocation of the more common `ln`
> command). As such, the build process incorrectly invokes the Unix
> `link` rather than the Microsoft LINK.exe and fails. To work around
> this problem, you move the standard Unix command-containing paths to
> the end of PATH so that the Microsoft LINK.exe is found first.
Your understanding is correct.