Skip to content

Same Docker image than rustembedded/cross, but adding clang3.9

Notifications You must be signed in to change notification settings

JEnoch/rust-cross-clang

Repository files navigation

Docker images for cross-rs/cross, including clang12.

The images are based on cross-rs/cross Docker images, but replacing the default clang (3.8 or 6 depending the image) with clang 12. This is useful for instance for bindgen which requires clang 5 or greater.
They are published as jenoch/rust-cross.

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"

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

NOTE: If using bindgen you get some "fatal error: 'xyz.h' file not found" error, try with bindgen="0.60".

List of tags

This table lists the tags available for the jenoch/rust-cross and details for each:

  • the tag of the ghcr.io/cross-rs/<target> image it's built from
  • the versions of libc, GCC and LLVM/CLang it embeds
Docker tag FROM tag libc GCC LLVM
aarch64-unknown-linux-gnu edge (2022/12/09) 2.31 9.4.0 12
aarch64-unknown-linux-musl edge (2022/12/09) 1.1.24 9.2.0 12
arm-unknown-linux-gnueabi edge (2022/12/09) 2.31 9.4.0 12
arm-unknown-linux-gnueabihf edge (2022/12/09) 2.17 8.3.0 12
armv7-unknown-linux-gnueabihf edge (2022/12/09) 2.31 9.4.0 12
x86_64-unknown-linux-musl edge (2022/12/09) 1.1.24 9.2.0 12
0.2.4-aarch64-unknown-linux-gnu 0.2.4 2.23 5.4.0 12
0.2.4-aarch64-unknown-linux-musl 0.2.4 1.1.24 9.2.0 12
0.2.4-arm-unknown-linux-gnueabi 0.2.4 2.23 5.4.0 12
0.2.4-arm-unknown-linux-gnueabihf 0.2.4 2.17 8.3.0 12
0.2.4-armv7-unknown-linux-gnueabihf 0.2.4 2.23 5.4.0 12
0.2.4-x86_64-unknown-linux-musl 0.2.4 1.1.24 9.2.0 12

About

Same Docker image than rustembedded/cross, but adding clang3.9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published