-
Notifications
You must be signed in to change notification settings - Fork 19
v2.0.0-beta.1 #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
v2.0.0-beta.1 #37
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changed Files |
------ > exporting to docker image format: ------ ------ > importing to docker: ------ ERROR: failed to build: failed to solve: rpc error: code = Unknown desc = write /root/.rustup/toolchains/1.87.0-x86_64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgimli-605c467c05f27091.rlib: no space left on device Reference Check build summary support Error: buildx failed with: ERROR: failed to build: failed to solve: rpc error: code = Unknown desc = write /root/.rustup/toolchains/1.87.0-x86_64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgimli-605c467c05f27091.rlib: no space left on device
d3a77d4 to
44eb85c
Compare
75c93b8 to
52fc789
Compare
adc2ad9 to
edf3135
Compare
26ace7b to
7ebe5f3
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
AMD64
`x86_64` Docker image variant
ARM64
`ARM64` Docker image variant
enhancement
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces the first beta version
v2.0.0-beta.1that includes significant improvements over the currentv1.rust-linux-darwin-builder Docker image remains multi-arch (
linux/amd64andlinux/arm64).Below are the main changes included in this beta release:
Rust version
1.87.0
Docker image optimizations
The Docker image is optimized to leverage caching, improve on resource utilization (e.g. size) and speed up build time.
linuxanddarwintargets.ZLibandOpenSSL.libpqis in progress.Docker images provided:
Docker images are available in both Docker Hub and GitHub Container Registry (GHCR).
docker pull ghcr.io/joseluisq/rust-linux-darwin-builder:2.0.0-beta.1docker pull joseluisq/rust-linux-darwin-builder:2.0.0-beta.1docker pull ghcr.io/joseluisq/rust-linux-darwin-builder:2.0.0-beta.1-libsdocker pull joseluisq/rust-linux-darwin-builder:2.0.0-beta.1-libsFor using only the OSXCross & SDK, have a look at the joseluisq/docker-osxcross.
Rust toolchains
Rust programs can cross-compile for those targets below, either from the
linux/arm64orlinux/amd64Docker image variant, so users can take advantage of them in native environments.aarch64-apple-darwinaarch64-unknown-linux-gnuaarch64-unknown-linux-muslx86_64-apple-darwinx86_64-unknown-linux-muslx86_64-unknown-linux-gnuBuilt-in C libraries
1.3.13.5.415.6(in progress)Cross-compilation improvements
linuxanddarwintargets especially those related to cross-compiling Rust programs that depend on C libraries likeOpenSSLandZLib.Cross-compilation tests
We improved cross-compilation testing for several Rust apps and C libraries like ZLib and OpenSSL.
See our test suite in Makefile and tests/ folder.
CI
Breaking changes
Please pay attention to the following breaking changes:
v2.x, the version number is no longer bound to a particular Rust version as it was before inv1.x.This change should help us to deliver bug fixes and improvements without waiting for the next Rust release.
ZLibandOpenSSL.Users who need these libraries should use the
-libsDocker image variant.arm-linux-gnueabihf-gcctoolchain (but it can be added later if requested).scripts/git-credential-ghtokenfile is removed as GitHub Actions provides built-in support for authentication usingGITHUB_TOKEN.If you encounter any issues, please don't hesitate to let us know or give us a hand.