# japaric/rust-cross

Everything you need to know about cross compiling Rust programs!

Repository: https://github.com/japaric/rust-cross
Canonical: https://ross.abutalabs.com/products/rust-cross
Language: Shell
License: Apache-2.0
License Family: permissive
Topics: rust, how-to, cross-compilation
Last push: 2022-07-22T09:06:38+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3876, "days_push": 1503, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2552, forks 92 (observed 2026-08-28T04:07:00.565116+00:00)

## What it is
A comprehensive guide documenting how to set up a Rust toolchain for cross compiling Rust programs to other architectures like ARM. It covers toolchain installation, target configuration, and troubleshooting, with examples verified via CI.

## Use cases
- cross compile rust program for arm
- build rust binary for raspberry pi
- set up rust cross compilation toolchain
- compile rust for embedded linux target
- configure cargo for cross compilation
- rust no_std cross compilation guide

## When to choose
- you need step-by-step instructions for cross compiling Rust to a supported target
- you want a documented workflow with CI-verified examples
- you are troubleshooting cross compilation issues in Rust

## When to avoid
- you want an automated tool rather than a manual guide (use cargo-cross instead)
- you need up-to-date instructions for the latest Rust toolchains, as the guide has not been actively updated
- you are not working with Rust

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools, compiler, documentation
- domain: developer-tools, compilers, programming-languages, tutorials
- platform: cross-platform, cli
- tags: rust, cross-compilation, guide, toolchain, embedded, linux

## Member repositories
- japaric/rust-cross (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:00.565116+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:23:47.894270+00:00, confidence not recorded.
  - readme: https://github.com/japaric/rust-cross (fetched 2026-08-28T04:07:00.565116+00:00, sha c12655737fb8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
