See https://github.com/cross-rs/cross/wiki/Configuration#builddockerfile for context regarding the $CROSS_BASE_IMAGE environment variable. Here, it resolves to ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:{{cross_version}} Relies on docker caching instead of pre-building the image. Cross made the change to the GHCR on https://github.com/cross-rs/cross/pull/609 Add newline at EOF for some files.
7 lines
144 B
TOML
7 lines
144 B
TOML
[target.armv7-unknown-linux-gnueabihf]
|
|
dockerfile = "Dockerfile"
|
|
|
|
[target.armv7-unknown-linux-gnueabihf.env]
|
|
passthrough = [
|
|
"RUSTFLAGS",
|
|
]
|