-
Notifications
You must be signed in to change notification settings - Fork 459
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
Regression in 1.2: relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol
.L.str.2``
#1314
Comments
Is it possible for you to narrow it down to the specific |
Also, would be cool if you could try with both Likely culprit right now is #1284 |
It compiles fine in 1.2.0; fails with 1.2.1. |
this still fails with 1.2.1.
this successfully compiles with 1.2.1. (I didn't know you could pass CFLAGS like that) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I started to get errors when building my crate for target
wasm32-unknown-emscripten
after a standardcargo update
:To repro:
Clone my repo:
Install rust nightly and add wasm toolchain
Install maturin and pyodide-build
Clone emsdk. I clone this into a specific path at
~/github/emscripten-core/emsdk
so that it can be shared across projects.Build
geoarrow-rust-io
:RUSTFLAGS="-Zinline-mir=no" RUSTUP_TOOLCHAIN=nightly \ maturin build \ --release \ --no-default-features \ -o dist \ -m geoarrow-io/Cargo.toml \ --target wasm32-unknown-emscripten \ -i python3.11
Note that the addition of
RUSTFLAGS="-Zinline-mir=no"
is temporary due to rust-lang/rust#128887.I was able to fix this in geoarrow/geoarrow-rs#906 by pinning
The text was updated successfully, but these errors were encountered: