Zig Makes Rust Cross-compilation Just Work

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

    The Rust package manager

  • From a quick look I see at least rust-lang/cargo#9030, which will allow per-crate targets. (Doesn't work with build-std.)

  • ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

  • I use cross in CI to test and to produce binaries: https://github.com/BurntSushi/ripgrep/blob/94e4b8e301302097dad48b292560ce135c4d4926/.github/workflows/release.yml#L131-L137

  • 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
  • fetch-them-macos-headers

    A utility for fetching minimal macOS libc headers

  • it’s not against the license agreement. the header files are under the APSL https://spdx.org/licenses/APSL-1.1.html The way zig collects macos headers is still experimental. We probably need to migrate to using an SDK at some point. For now it is this project.

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