We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I try to build a rust app with musl, by rust-mul-cross images and GHA.
x86_64 works fine, but aarch64 crash.
I get:
#14 5.127 Updating crates.io index #14 85.51 Killed ERROR: failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 137 Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 137
GHA Workflow: https://github.com/Ludea/speedupdate-rs/blob/master/.github/workflows/docker.yml Dockerfile: https://github.com/Ludea/speedupdate-rs/blob/master/Dockerfile Full log: https://github.com/Ludea/speedupdate-rs/actions/runs/3409830963/jobs/5672075085
I don't understand what is wrong
The text was updated successfully, but these errors were encountered:
Try add CARGO_NET_GIT_FETCH_WITH_CLI=true, probably related to libgit2, see rust-lang/cargo#10583
CARGO_NET_GIT_FETCH_WITH_CLI=true
libgit2
Sorry, something went wrong.
Works as expected, thanks ! Maybe you could add a note into Readme.md ?
IMO you don't need QEMU, you can just cross compile aarch64 target, for example https://github.com/PyO3/maturin/blob/cb0b6c6d39777952e7e22e3e88dff61b5b7c3edb/Dockerfile#L1-L12
See also https://www.docker.com/blog/cross-compiling-rust-code-for-multiple-architectures/
No branches or pull requests
Hi,
I try to build a rust app with musl, by rust-mul-cross images and GHA.
x86_64 works fine, but aarch64 crash.
I get:
GHA Workflow: https://github.com/Ludea/speedupdate-rs/blob/master/.github/workflows/docker.yml
Dockerfile: https://github.com/Ludea/speedupdate-rs/blob/master/Dockerfile
Full log: https://github.com/Ludea/speedupdate-rs/actions/runs/3409830963/jobs/5672075085
I don't understand what is wrong
The text was updated successfully, but these errors were encountered: