-
Notifications
You must be signed in to change notification settings - Fork 296
fix: added musl builds x86_64 and aarch64 #2259
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
Conversation
Signed-off-by: Thomas Timmer <thomastimmer11@hotmail.com>
ah I see it uses wasm-tools (I though it would use wasmtime) to get the builder docker images |
Ah yeah the Wasmtime action in-use here basically just builds some Docker containers in |
|
||
RUN apt-get update -y && apt-get install -y ninja-build | ||
RUN git config --global --add safe.directory '*' | ||
ENV EXTRA_RUSTFLAGS=-Ctarget-feature=-crt-static |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit different from Wasmtime in that EXTRA_RUSTFLAGS
isn't recognized in this repository, could this be updated to RUSTFLAGS
and/or could EXTRA_RUSTFLAGS
get handled? (as-is static binaries are produced when it's intended that dynamic binaries are produced instead)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated both to use RUSTFLAGS instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted back to EXTRA_RUSTFLAGS
Bah static binaries are still popping out. I believe the reason for that is that the wrapper script here will by default inherit rustflags from the calling process (which for CI is |
This reverts commit 9ff1f40.
#2257
The build are copied from https://github.com/bytecodealliance/wasmtime/blob/v29.0.1/ci/build-build-matrix.js
I see it uses version 28.0 but I don't see aarch64-musl in that tag. However in 29.0 I dont see the 'bytecodealliance/wasmtime/.github/actions/binary-compatible-builds@release-28.0.0' workflow anymore 🤔