Skip to content

Build

Cross-compilation

Quick answer

Cross-compilation is building a binary on one architecture that is intended to run on a different one.

Cross-compilation is building a binary on one architecture that is intended to run on a different one.

Why it matters

It is far faster than emulation but needs a toolchain per target and breaks on anything that runs generated code at build time. Native runners avoid the problem entirely.

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.