Rust makes cross compilation child's play

This page summarizes the projects mentioned and recommended in the original post on dev.to

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • delta

    A syntax-highlighting pager for git, diff, and grep output

  • The problems start to arise when you want to compile for a different architecture, such as i686 (32 bit) or ARM processors. In this case, you have to install some dependencies and set some environment variables, which may be painful. For example, in the old continuous integrations scripts of delta,this was the way dependencies were installed. Ugly, I know. As rust developers we are used to great tools, so there must be a better way right?

  • cargo

    Discontinued 📦 GitHub Action for Rust `cargo` command (by actions-rs)

  • It turns out that this is like the easiest thing in the world! The action-rs/cargo action I was already using had built-in support for cross. Now I even felt more stupid, but anyway..you just need to set the use-cross variable to true and you are done!

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

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

  • Instead of doing cargo build --target you simply do cross build --target . Based on the target, in fact, cross will run a docker image that has all the right dependencies already installed and configured by the rust-embedded team itself. 😉 And that’s it..just run cargo install cross and you are ready to cross-compile for allthese targets in rust, no other dependency is required, except docker of course!

  • rust-gh-example

    An example project that uses Rust GitHub template

  • This is an example of the resulting Continuous Deployment step.

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