Container bases for cross-compiling for ARMv7 and i686 targets on an x86-64 host.
Go to file
Anthony J. Martinez 17e7d7a9cf
Add example with extra target dependencies (libpcap)
- ARMv7 target running Debian Stretch
- Depends on libpcap0.8-dev:armhf
- Adds dummy crate to force linking as an example
2022-09-03 14:15:31 -05:00
docker Add example with extra target dependencies (libpcap) 2022-09-03 14:15:31 -05:00
examples Add example with extra target dependencies (libpcap) 2022-09-03 14:15:31 -05:00
LICENSE-APACHE Initial commit 2021-08-28 12:25:48 +02:00
LICENSE-MIT Initial commit 2021-08-28 12:25:48 +02:00 Update project structure for multiple examples, refactor original example 2022-09-03 13:36:41 -05:00

Cross Build

Provides example Dockerfiles to build cross-compilation containers for various targets from x86-64 hosts.


  • Example 1: A Rust project fetched from Git, and then compiled for ARMv7 and i686 targets, including a static C runtime
  • Example 2: A Rust project volume mounted as an exported package (.crate file), and compiled for ARMv7 with dynamic linking for a legacy target based on Debian Stretch


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


To discuss features, offer assistance, or get help please join the project's Matrix room.