Sign inSign up

jenoch/rust-cross

By jenoch

Updated almost 4 years ago

Docker images for rust-embedded/cross, including clang12.

Image
0

100K+

jenoch/rust-cross repository overview

Docker images for rust-embedded/cross, including clang12.

The images are based on rustembedded/cross images, but adding clang12 and defining BINDGEN_EXTRA_CLANG_ARGS="--sysroot=... with cross-compilation toolchain path (useful for crates using bindgen).

Dockerfiles at https://github.com/JEnoch/rust-cross-clang

You can use them defining such Cross.toml file:

[target.x86_64-unknown-linux-musl]
image = "jenoch/rust-cross:x86_64-unknown-linux-musl"

[target.arm-unknown-linux-gnueabi]
image = "jenoch/rust-cross:arm-unknown-linux-gnueabi"

[target.arm-unknown-linux-gnueabihf]
image = "jenoch/rust-cross:arm-unknown-linux-gnueabihf"

[target.armv7-unknown-linux-gnueabihf]
image = "jenoch/rust-cross:armv7-unknown-linux-gnueabihf"

[target.aarch64-unknown-linux-gnu]
image = "jenoch/rust-cross:aarch64-unknown-linux-gnu"

Tag summary

Content type

Image

Digest

sha256:f2407e444

Size

605.5 MB

Last updated

almost 4 years ago

docker pull jenoch/rust-cross:arm-unknown-linux-gnueabi