Skip to content

arm64

How do I build a Rust binary for multiple targets?

Quick answer

Use a matrix with one native runner per target, rather than cross-compiling everything on one machine.

The detail that matters

Native builds avoid linker and sysroot problems entirely, and each leg keeps its own warm cache.

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.