-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The windows-gnu
package misses zlib1__.dll
that is needed by rust-lld.exe
#85422
Comments
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-low +T-compiler +O-windows Edit: my assessment was wrong, this requires more prompt attention @rustbot label -P-low +P-high |
I have the same issue with "stable" rust 1.52.1 (9bc8c42 2021-05-09) on Windows 10 with a wasm32-unknown-unknown target. Can you elaborate on how to quick-fix this by adding zlib1__.dll manually? Where can I get, and where do I put zlib1__.dll? Btw. what hit me instantly is the move from LLVM 11 to 12. Might that be the issue? |
Yes, at least enough so it works for me. Just rename any zlib binary, the library interface has been stable for a very long time, so it should just work. Or, if you are ok with using binaries received from strangers, take this: zlib1__.zip. When you have |
It works, thanks a lot. It was a bit confusing that I don't have rust-lld in the wasm target folder. |
…Mark-Simulacrum Do not try to build LLVM with Zlib on Windows Fixes rust-lang#85422 Fixes rust-lang#85624 We do not install Zlib on the CI but recent builds somehow started picking it's shared version. To avoid relying on CI binaries so let's explicitly disable it.
Code
I tried this:
rustup override set nightly-2021-05-12-x86_64-pc-windows-gnu
rustup target add wasm32-unknown-unknown
wasm32-unknown-unknown
:cargo build --package enso-macro-utils --target wasm32-unknown-unknown --verbose
Result:
The
rustc
invokesrust-lld
.rust-lld
depends onzlib1__.dll
that is not present in the distribution. If I add it manually, the issue goes away.The
windows-msvc
flavor ships withrust-lld
that does not have this dependency.Version it worked on
Version with regression
and
(and likely everything between)
The text was updated successfully, but these errors were encountered: