“Zero setup” cross compilation and “cross testing” of Rust crates
APACHE-2.0 License
Bot releases are visible (Hide)
#962 - fix SELinux labels to allow use in multiple containers and/or the host filesystem.
#1166 - freebsd: include memstat in build image to fix build with libc 0.2.138 and up.
#1183 - resolve issue when using pre-build in Cargo.toml
Full Changelog: https://github.com/cross-rs/cross/compare/v0.2.4...v0.2.5
Published by github-actions[bot] over 2 years ago
--verbose
would not output data when it shouldPublished by github-actions[bot] over 2 years ago
CARGO_TERM_VERBOSE
, CARGO_TERM_QUIET
, and CARGO_TERM_COLOR
environment variables for cross terminal output.x86_64-unknown-illumos
target.pre-build
can now take a string pointing to a script file to run.qemu-runner
for musl images, allowing use of native or emulated runners.i586-unknown-linux-gnu
, i686-unknown-linux-musl
, and i586-unknown-linux-gnu
, so they can run on an x86
CPU, rather than an x86_64
CPU.CROSS_REMOTE_SKIP_BUILD_ARTIFACTS
.CROSS_CONTAINER_USER_NAMESPACE
environment variable.CROSS_ROOTLESS_CONTAINER_ENGINE
environment variable.ghcr.io/cross-rs/cross
containing cross.x86_64-unknown-linux-musl
.cargo metadata
works by using the same channel.target.$(...)
config options override build
ones when parsing strings and vecs.CARGO
environment variable.build.env.passthrough
config values.build.env.passthrough
values. by @Alexhuszagh in https://github.com/cross-rs/cross/pull/867
CARGO
environment variable. by @Alexhuszagh in https://github.com/cross-rs/cross/pull/868
Full Changelog: https://github.com/cross-rs/cross/compare/v0.2.2...v0.2.3
Published by github-actions[bot] over 2 years ago
After almost two years, cross finally has a new version available!
Major features of this release are:
CROSS_REMOTE
. See the wiki
What's next? We've got some breaking changes for v0.3.0, including updating the base Ubuntu versions for our images from 16.04 to 20.04. Although using older glibc versions is great for backwards compatibility, many of us are working on newer codebases where binary compatibility with old glibc versions isn't required, so you can install a more modern toolset from the system package manager.
CROSS_CUSTOM_TOOLCHAIN
to disable automatic installation of components for use with tools like cargo-bisect-rustc
CROSS_CONTAINER_IN_CONTAINER
environment variable to replace CROSS_DOCKER_IN_DOCKER
.CROSS_REMOTE
environment variable. also adds in utility commands to create and remove persistent data volumes.build-std
config option, which builds the rust standard library from source if enabled.target.{target}.dockerfile[.file]
, target.{target}.dockerfile.context
and target.{target}.dockerfile.build-args
to invoke docker/podman build before using an image.target.{target}.pre-build
config for running commands before building the image.CROSS_CONTAINER_OPTS
environment variable to replace DOCKER_OPTS
.cross-util
and xtask
commands.Cargo.toml
as configuration sourcethumbv7neon-*
targets.armv7-unknown-linux-gnueabi
and armv7-unknown-linux-musleabi
targets.CROSS_UNSTABLE_ENABLE_DOCTESTS=true
.--list
to known subcommands.build.default-target
mips64-unknown-linux-muslabi64
and mips64el-unknown-linux-muslabi64
supportx86_64-unknown-dragonfly
target.arm-unknown-linux-gnueabihf
to build for ARMv6, and add architecture for crosstool-ng-based images.emcc
version 3.1.10BINDGEN_EXTRA_CLANG_ARGS
environment variable to pass sysroot to rust-bindgen
CACHEDIR.TAG
when creating the target directory, similar to cargo
.CARGO_BUILD_TARGET
as an alias for CROSS_BUILD_TARGET
target.$(...)
config options override build
ones.DOCKER_OPTS
.PKG_CONFIG_PATH
to all *-linux-gnu
images.libc++_shared.so
.CROSS_DEBUG
and CROSS_RUNNER
on android images.powerpc64-unknown-linux-gnu
imagesparc64-unknown-linux-gnu
imagelibprocstat.so
to FreeBSD imagescargo build-docker-image $TARGET
0.22.1
Full Changelog: https://github.com/cross-rs/cross/compare/v0.2.1...v0.2.2
Published by github-actions[bot] over 2 years ago
CROSS_CUSTOM_TOOLCHAIN
to disable automatic installation of components for use with tools like cargo-bisect-rustc
CROSS_CONTAINER_IN_CONTAINER
environment variable to replace CROSS_DOCKER_IN_DOCKER
.CROSS_REMOTE
environment variable. also adds in utility commands to create and remove persistent data volumes.build-std
config option, which builds the rust standard library from source if enabled.target.{target}.dockerfile[.file]
, target.{target}.dockerfile.context
and target.{target}.dockerfile.build-args
to invoke docker/podman build before using an image.target.{target}.pre-build
config for running commands before building the image.CROSS_CONTAINER_OPTS
environment variable to replace DOCKER_OPTS
.cross-util
and xtask
commands.Cargo.toml
as configuration sourcethumbv7neon-*
targets.armv7-unknown-linux-gnueabi
and armv7-unknown-linux-musleabi
targets.CROSS_UNSTABLE_ENABLE_DOCTESTS=true
.--list
to known subcommands.build.default-target
mips64-unknown-linux-muslabi64
and mips64el-unknown-linux-muslabi64
supportx86_64-unknown-dragonfly
target.arm-unknown-linux-gnueabihf
to build for ARMv6, and add architecture for crosstool-ng-based images.emcc
version 3.1.10BINDGEN_EXTRA_CLANG_ARGS
environment variable to pass sysroot to rust-bindgen
CACHEDIR.TAG
when creating the target directory, similar to cargo
.CARGO_BUILD_TARGET
as an alias for CROSS_BUILD_TARGET
target.$(...)
config options override build
ones.DOCKER_OPTS
.PKG_CONFIG_PATH
to all *-linux-gnu
images.libc++_shared.so
.CROSS_DEBUG
and CROSS_RUNNER
on android images.powerpc64-unknown-linux-gnu
imagesparc64-unknown-linux-gnu
imagelibprocstat.so
to FreeBSD imagescargo build-docker-image $TARGET
0.22.1
Full Changelog: https://github.com/cross-rs/cross/compare/v0.2.1...v0.2.2-rc.1
Published by reitermarkus over 4 years ago
powerpc64
and sparc64
images.curl
calls.dropbear
.apt-key
.xargo
.--cache-from
if image was pulled.apt-get --assume-yes
in Dockerfilearm-unknown-linux-gnueabihf
.i686-apple-darwin
.x86_64-unknown-dragonfly
.This list of changes was auto generated.
Published by reitermarkus over 4 years ago
linux-image.sh
easier to maintain.--target-dir
.purge_list
.cargo doc
.xargo
.CommandExt
.clippy
warnings.0.2.0-alpha.1
.Cargo.toml
in project directory.emscripten.sh
.home
crate.node.sh
.This list of changes was auto generated.
Published by reitermarkus about 5 years ago
native
runner.emscripten
targets again.cargo
on the host when no image is found.-apple-ios
components on macOS.versioned_image_name
.This list of changes was auto generated.
Published by japaric almost 7 years ago
Published by japaric almost 7 years ago
Published by japaric over 7 years ago
Published by japaric over 7 years ago
Published by japaric almost 8 years ago
Published by japaric almost 8 years ago
Published by japaric almost 8 years ago