rust-cross / rust-musl-cross

Docker images for compiling static Rust binaries using musl-cross
MIT License
601 stars 66 forks source link

Rust 1.73.0 #127

Closed raine closed 8 months ago

raine commented 9 months ago

Could the dockerhub images be updated?

I tried rustup update inside messense/rust-musl-cross:aarch64-musl but getting a strange error.

% docker run -it messense/rust-musl-cross:aarch64-musl
root@c2e80ccd6802:/home/rust/src# rustup update
info: syncing channel updates for 'stable-aarch64-unknown-linux-gnu'
info: latest update on 2023-10-05, rust version 1.73.0 (cc66ad468 2023-10-03)
info: downloading component 'clippy'
info: downloading component 'rustfmt'
info: downloading component 'rust-std' for 'aarch64-unknown-linux-musl'
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
 76.5 MiB /  76.5 MiB (100 %)  28.4 MiB/s in  2s ETA:  0s
info: removing previous version of component 'clippy'
info: rolling back changes
error: failure removing component 'clippy-preview-aarch64-unknown-linux-gnu', directory does not exist: 'share/doc/clippy/README.md'
info: checking for self-update

  stable-aarch64-unknown-linux-gnu update failed - rustc 1.71.0 (8ede3aae2 2023-07-12)

However, I managed to build an image locally using this repo with docker build --build-arg TARGET=aarch64-unknown-linux-musl --build-arg RUST_MUSL_MAKE_CONFIG=config.mak -t messense/rust-musl-cross:aarch64-musl-arm64 . so I think I'm good for now but would be great to have it in dockerhub as well.

Thank you.

messense commented 8 months ago

Done in https://github.com/rust-cross/rust-musl-cross/actions/runs/6529464822