rust-musl-cross
docker-rust
Our great sponsors
rust-musl-cross | docker-rust | |
---|---|---|
5 | 1 | |
572 | 412 | |
3.7% | 2.4% | |
7.2 | 7.4 | |
24 days ago | 15 days ago | |
Shell | Dockerfile | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-musl-cross
- How do I cross compile for Rasperry Pi 64 bit on Windows?
-
Hey Rustaceans! Got a question? Ask here! (36/2022)!
Is my best bet just to use (rust-musl-cross)[https://github.com/messense/rust-musl-cross] as the builder image?
-
Guidance about cross compilation tools, especially targeting musl
rust-musl-cross: active as last commit was 10 days ago. It said it based on rust-musl-builder. But this repo was created years ago. So why would this exist when there is also rust-musl-builder. What are the differences compared to rust-musl-builder and muslrust?
-
Running Rust on AWS Lambda on ARM64
The example that is provided in the AWS Rust runtime repository shows them using a custom linker and rustup target in order to cross-compile for x86-based lambdas. I attempted to dive into how to get a arm64-based linker, but in the process of trying to figure out how to get that linker installed locally (no convenient packages for Ubuntu, sorry), I stumbled across a project that provides cross-compilation tooling for various platforms via Docker. That made my life a lot easier - Using the rust-musl-cross Docker container, all I have to do is wrap the call to cargo build, and it builds for the proper architecture:
- rust-musl-cross docker images added linux/arm64 architecture support
docker-rust
-
Show /r/rust: a Rust implementation of the Realworld demo app spec using Axum and SQLx, written by a co-author of SQLx.
Sadly, it looks like there's no interested in adding it into the official Docker images either: https://github.com/rust-lang/docker-rust/issues/37
What are some alternatives?
rust-on-raspberry-pi
docker-rustup - Automated builded images for rust-lang with rustup, "the ultimate way to install RUST"
docker-ipsec-vpn-server - Docker image to run an IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
mini-docker-rust - Very small rust docker image
realworld-axum-sqlx - A Rust implementation of the Realworld demo app spec using Axum and SQLx.
muslrust - Docker environment for building musl based static linux rust binaries
rust-musl-builder - Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries. Supports openssl and diesel crates.
aws-lambda-rust-runtime - A Rust runtime for AWS Lambda
clog-cli - Generate beautiful changelogs from your Git commit history
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.