rust-musl-cross icon indicating copy to clipboard operation
rust-musl-cross copied to clipboard

Docker images for compiling static Rust binaries using musl-cross

Results 14 rust-musl-cross issues
Sort by recently updated
recently updated
newest added

I want to build the plotters example in x86_64-musl. I did these commands. ``` git clone https://github.com/plotters-rs/plotters.git --recursive cd plotters docker run --rm -it -v `pwd`:/home/rust/src messense/rust-musl-cross:x86_64-musl # in the...

@messense is there any plan to add prebuild image of arm32v7 rust-musl-cross in the future? I came across your docker image while trying to cross compile a rust source to...

Hi, I was wondering about difference between [cross] and `messense/rust-musl-cross` images. For sure there is big one - cross doesn't support openssl. Are there any other? I am asking because...

Hi, here is a solution how to enable caching if sb is interested: You need to just mount a registry: ``` -v "$(pwd)"/target/armv7-unknown-linux-musleabihf/musl-builder/cargo-cache:/root/.cargo/registry` ``` Full example from `~/.zshrc` if you...

how-to

Hi, I would like to use this when and have no idea how to manage it. ```toml [dependencies] package = { git = "https://@git.private.com/repo/repo.git" } ```

how-to

``` = note: /usr/local/musl/bin/../lib/gcc/s390x-unknown-linux-musl/9.2.0/../../../../s390x-unknown-linux-musl/bin/ld: /home/rust/src/target/s390x-unknown-linux-musl/debug/deps/libopenssl_sys-70172c64409e3e90.rlib(curve448.o): in function `recode_wnaf': /home/rust/src/target/s390x-unknown-linux-musl/debug/build/openssl-sys-1de3ca3326f5bf22/out/openssl-build/build/src/crypto/ec/curve448/curve448.c:575: undefined reference to `__ctzdi2' /usr/local/musl/bin/../lib/gcc/s390x-unknown-linux-musl/9.2.0/../../../../s390x-unknown-linux-musl/bin/ld: read-only segment has dynamic relocations collect2: error: ld returned 1 exit status ``` Hmm, not sure...

bug

in the following line what does `-d16` refer to, or enable: ``` ENV CFLAGS_armv7_unknown_linux_musleabihf='-mfpu=vfpv3-d16' ``` As far as I understand this is device specific, that is `-mfpu=vfpv3` will apply to...

This docker-images would ideal to be used in the Docker From step inside a builder, to build mutliplatform images. ```Dockerfile FROM --platform=$BUILDPLATFORM ghcr.io/rust-cross/rust-musl-cross:aarch64-unknown-linux-musl AS builder SHELL ["/bin/bash", "-uo", "pipefail", "-c"]...

Hi! First thank you for your work on this project its been super helpful. I recently started getting the following error when building ``` = note: lto1: fatal error: bytecode...