Stream: wit-bindgen

Topic: aarch64 support


view this post on Zulip Josh Schlesser (Oct 26 2022 at 00:03):

I tried to build and test 9d7b320 using the .devcontainer support in VSCode + Docker Desktop on an M1 Mac. The command cargo test -p wit-bindgen-gen-host-js fails with:
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory.

Im assuming that's because the Dockerfile is referencing a version of the wadi-sdk that is expecting x86-64 . I didn't see anything obvious on the wasi-sdk releases page that looked like aarch64 for linux. Am I going down the right rabbit hole? Is it likely that this would be supported anytime soon or perhaps relatively easy for someone new to the project to get going? Should I abandon this path and just get an x86-64 build environment going somewhere (cloud) because the effort to get aarch64 support is a heavy lift across multiple projects?

Thanks in advance for any insights or pointers.

This commit removes the `Generator` trait impl for the C generator and adds the `WorldGenerator` trait impl to replace it. This is the equivalent of #386 for the guest C generator. The generat...
A language binding generator for WebAssembly interface types - wit-bindgen/Dockerfile at 9d7b32091b221910b74b788d019d62e6fa622064 · bytecodealliance/wit-bindgen
WASI-enabled WebAssembly C/C++ toolchain. Contribute to WebAssembly/wasi-sdk development by creating an account on GitHub.

Last updated: Nov 22 2024 at 16:03 UTC