rustc 1.82.0 doesn't add LIBPATH when invoking link.exe #132016
Labels
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
O-windows-msvc
Toolchain: MSVC, Operating system: Windows
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Rust-to-rust dynamic linking (through import library) on Windows fails with toolchain version 1.82.0.
The build log shows that 1.82.0 is not adding any /LIBPATH arguments when invoking link.exe.
I tried this code: nandin-borjigin/rustc-1.82.0-repro
I expected to see this happen: Successful build
Instead, this happened: LINK : fatal error LNK1181: cannot open input file 'mylib.dll.lib'
Meta
rustc --version --verbose
:Backtrace
Possibly related
-Clink-args=resources.res
fails in 1.82 #131995The text was updated successfully, but these errors were encountered: