Skip to content
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

Add Docker build and Github Actions cross-builder for Linux #407

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ValdikSS
Copy link

Build ARM, MIPS, x86 and x86_64 static binaries for Linux using https://github.com/rust-cross/rust-musl-cross musl Docker images, either locally or using Github Actions builders.

All supported toolchain triplets are available here: https://github.com/rust-cross/rust-musl-cross?tab=readme-ov-file#prebuilt-images

All toolchains are as generic for the architecture as possible. Namely:

  • arm-musleabi is march=armv5t, mcpu=arm10tdmi, mfloat-abi=soft
  • arm-musleabihf is march=armv5te+fp, mcpu=arm10tdmi, mfloat-abi=hard, mfpu=auto
  • mipsel-musl is mabi=32, march=mips1
  • i586-musl is march=pentium

Hint: run $TARGET_CC -Q --help=target to see gcc configuration

Previous pull request #362 has been accidentally closed.

Build ARM, MIPS, x86 and x86_64 static binaries for Linux using
https://github.com/rust-cross/rust-musl-cross musl Docker images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant