[RootFS] Update Rust to 1.97.0 and enable more platforms#14189
Open
ararslan wants to merge 1 commit into
Open
Conversation
This updates the version of Rust to 1.97.0 and adds both FreeBSD AArch64 and Linux RISC-V as targets. Previously these were commented out in the build script with a note that no toolchain was available, but with a couple of tweaks, toolchains are available for both. For Linux RISC-V, the Rust target triple is updated to reflect the change made in BinaryBuilderBase.jl: using `riscv64gc` rather than just `riscv64`. See BBB PR 484 for more details. FreeBSD AArch64 was promoted to a tier 2 platform for Rust, and binaries exist for 1.97.0, but for some reason they're not installable from `rustup` in the same way as the other platforms. I assume that will be fixed in Rust 1.98.0, but in the meantime, we can manually download and install the release artifacts to enable this platform as a compilation target.
Member
|
Need to manually deploy and then open the PR to BinaryBuilderBase to update the Artifacts.toml file.
That's fine, although usually I prefer to do that in a separate PR with the Update Manifest workflow. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 updates the version of Rust to 1.97.0 and adds both FreeBSD AArch64 and Linux RISC-V as targets. Previously these were commented out in the build script with a note that no toolchain was available, but with a couple of tweaks, toolchains are available for both.
For Linux RISC-V, the Rust target triple is updated to reflect the change made in BinaryBuilderBase.jl: using
riscv64gcrather than justriscv64. See BBB PR 484 for more details.FreeBSD AArch64 was promoted to a tier 2 platform for Rust, and binaries exist for 1.97.0, but for some reason they're not installable from
rustupin the same way as the other platforms. I assume that will be fixed in Rust 1.98.0, but in the meantime, we can manually download and install the release artifacts to enable this platform as a compilation target.Note that I've also updated the Manifest.toml file to pull in the changes on BinaryBuilderBase.jl
masterthat this PR requires, but I can revert that if needed. I can never remember how Manifest.toml updating is handled for this repo.