Was cross-compiling and cross-running tests always this simple?

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

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

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

  • Cross compiling with cargo has always been relatively simple; that's what you get by designing a default cross compiling toolchain. cargo cross also exists to make cross compilation and testing even simpler for most cases.

  • libarchive

    Multi-format archive and compression library

  • I am a noob and Rust is the first environment where I did cross compiling. I am also blown away by how easy and quick this works. However, with a new project it does not work anymore, because it involves a dynamic library (.so on Linux or .dll on Windows); specifically talking about libarchive with help of compress-tools.

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

    InfluxDB logo
  • rust

    Empowering everyone to build reliable and efficient software.

  • Rust's approach is more inline with their philosophy of "taking as long as necessary to do it properly". (eg. linking with LLD is still a work in progress but it will improve LLD for everything LLD-based. rustc_codegen_gcc may not be as much of an independent implementation as gccrs, but the project is getting patches into libgccjit's AOT compilation API to improve it for everyone.)

  • zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  • Small correction: while zig's compiler-rt has many functions ported from LLVM's, it is a different codebase that has more capabilities and fewer limitations than LLVM's compiler-rt.

  • llvm-project

    The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

  • Small correction: while zig's compiler-rt has many functions ported from LLVM's, it is a different codebase that has more capabilities and fewer limitations than LLVM's compiler-rt.

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

    WorkOS logo
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