Skip to content

[RootFS] Update Rust to 1.97.0 and enable more platforms#14189

Open
ararslan wants to merge 1 commit into
masterfrom
aa/rust-1.97.0
Open

[RootFS] Update Rust to 1.97.0 and enable more platforms#14189
ararslan wants to merge 1 commit into
masterfrom
aa/rust-1.97.0

Conversation

@ararslan

Copy link
Copy Markdown
Member

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.

Note that I've also updated the Manifest.toml file to pull in the changes on BinaryBuilderBase.jl master that this PR requires, but I can revert that if needed. I can never remember how Manifest.toml updating is handled for this repo.

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.
@ararslan
ararslan requested a review from giordano July 10, 2026 22:40
@ararslan ararslan added rust 🦀 RootFS 🪾 Anything related to the RootFS labels Jul 10, 2026
@giordano

Copy link
Copy Markdown
Member

Need to manually deploy and then open the PR to BinaryBuilderBase to update the Artifacts.toml file.

Note that I've also updated the Manifest.toml file to pull in the changes on BinaryBuilderBase.jl master that this PR requires, but I can revert that if needed. I can never remember how Manifest.toml updating is handled for this repo.

That's fine, although usually I prefer to do that in a separate PR with the Update Manifest workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RootFS 🪾 Anything related to the RootFS rust 🦀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants