Guidance about cross compilation tools, especially targeting musl

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • cross

    “Zero setup” cross compilation and “cross testing” of Rust crates

    Cross: seems to be the most popular, last commit was Jun 30, 2020, so maybe this project is abandonned?

  • 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.

    rust-musl-builder: most popular in the musl compilation category, seems to be abandonned due to the removal of Docker Hub free tier as last commit was on Feb 13, 2021 with a lot of issues request updating to the newest stable Rust

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • muslrust

    Docker environment for building musl based static linux rust binaries

    muslrust: seems to be active last commit on Oct 2, 2021. But what is the difference compared to the one above?

  • rust-musl-cross

    Docker images for compiling static Rust binaries using musl-cross

    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?

  • broot

    A new way to see and navigate directory trees : https://dystroy.org/broot

    cargo-cross works well for me. A big upside is that I use the same tool to build for all the targets except the native one* . This lets me have consistent scripts to build all targets, like this one.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts