-
Notifications
You must be signed in to change notification settings - Fork 314
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
Broken binary on 64-bit Windows #269
Comments
What does the output of |
|
We don't support building Deno for 32-bit x86 targets, and I'm not sure we ever will.
This is what you're after:
|
Should that be mentioned in the docs here (and in deno)? Currently, installing Rust from https://www.rust-lang.org/tools/install will get you a 32-bit toolchain by default (although it seems it's going to change, see rust-lang/rustup#2186 and rust-lang/www.rust-lang.org#1004). |
@seishun yes some comments in the manual would be helpful. |
I might be doing something wrong, but it seems binding.cc gets built for x64, while the Rust code gets built for x86. This causes linker errors when this crate is used: denoland/deno#3716
Steps:
cargo build -vv
.dumpbin /headers
outputs.Expected: same "machine" values.
Actual: Rust object files have
14C machine (x86)
, binding.obj has8664 machine (x64)
.The text was updated successfully, but these errors were encountered: