-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Initial WebAssembly/WASI cross-compilation support #56555
Commits on Apr 24, 2019
-
Adds pkgsCross.wasm32 and pkgsCross.wasm64. Use it to build Nixpkgs with a WebAssembly toolchain. stdenv/cross: use static overlay on isWasm isWasm doesn’t make sense dynamically linked.
Configuration menu - View commit details
-
Copy full SHA for 9abff4a - Browse repository at this point
Copy the full SHA 9abff4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d591a10 - Browse repository at this point
Copy the full SHA d591a10View commit details -
wasmtime: init and use for emulation
This isn’t really an "emulator" but it’s the closest concept we have right now.
Configuration menu - View commit details
-
Copy full SHA for dbb94b9 - Browse repository at this point
Copy the full SHA dbb94b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 556466d - Browse repository at this point
Copy the full SHA 556466dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4048acb - Browse repository at this point
Copy the full SHA 4048acbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a7a96a - Browse repository at this point
Copy the full SHA 1a7a96aView commit details -
compiler-rt: Don't try to build a test executable
Got this trick from stack overflow to avoid needing compiler-rt to link the test exe before building compiler-rt. a static lib isn't linked at all, and so breaks the cycle.
Configuration menu - View commit details
-
Copy full SHA for 9044f57 - Browse repository at this point
Copy the full SHA 9044f57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 721832f - Browse repository at this point
Copy the full SHA 721832fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4cfd50 - Browse repository at this point
Copy the full SHA a4cfd50View commit details -
wasilibc: use .imports file for lld
instead of passing in the --allow-undefined-file, we can just let lld find the file.
Configuration menu - View commit details
-
Copy full SHA for 6948ffd - Browse repository at this point
Copy the full SHA 6948ffdView commit details -
libgmp: don’t compile with cpp on wasm
We don’t have full C++ support for things like threads or exceptions.
Configuration menu - View commit details
-
Copy full SHA for e2a1dc6 - Browse repository at this point
Copy the full SHA e2a1dc6View commit details -
release-cross: add wasi targets
Add a few working cross targets to make sure things keep working.
Configuration menu - View commit details
-
Copy full SHA for 008c9a7 - Browse repository at this point
Copy the full SHA 008c9a7View commit details