Skip to content

package/rust: bump to 1.94.1 and fix bootstrap

Nicolas Serafini via buildroot buildroot 1 version Applied

Status from this message: Applied to master, thanks a lot!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4package/rust: bump version to 1.94.1package/rust-bin/rust-bin.hash package/rust-bin/rust-bin.mk package/rust/rust.hash +1 more+68 -681 reply
2/4package/rust{, -bin}: fix bootstrap build for Rust >= 1.89.0package/rust-bin/rust-bin.mk package/rust/rust.mk+3 -20 replies
3/4package: update cargo suffix to -cargo5 and fix hashespackage/aardvark-dns/aardvark-dns.hash package/aichat/aichat.hash package/bat/bat.hash +32 more+35 -350 replies
4/4rust: add support for riscv64gc-unknown-linux-musl targetpackage/rust-bin/rust-bin.hash package/rustc/Config.in.host utils/update-rust+8 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchMarcus Hoffmann
SeriesT-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/4] package/rust: bump to 1.94.1 and fix bootstrap

Apologies for the resend, my previous submission bounced as I was not subscribed to the mailing list with this email address.

Rust remained at version 1.88.0 because, starting from version 1.89.0, the bootstrap process was redesigned, and attempting to bootstrap host-rust from source resulted in the following errors:

error[E0463]: can't find crate for std
error[E0463]: can't find crate for core

Several attempts to bump Rust were submitted but none were merged:
- Bernd Kuhls, bump to 1.92.0 (Dec 2025)

    https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
  - Simon Richter, bump to 1.93.1 (Feb 2026)
    https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

This series bump Rust to 1.94.1 and fixes the bootstrap issue:
[1/4] Bump Rust from 1.88.0 to 1.94.1
[2/4] Fix the bootstrap build for Rust >= 1.89.0: set
local-rebuild = true in config.toml and replace the broken relative symlinks in host-rust-bin with hardlink copies.
[3/4] Bump the cargo vendor suffix from -cargo4 to -cargo5 and
update SHA256 hashes for all 34 affected packages, as the vendored content changed following the Rust bump.
[4/4] Add riscv64gc-unknown-linux-musl target support, rebased
from Mariusz Bialonczyk's earlier patch (Oct 2025) and also part of the patch series for the bump to 1.92.0:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Tested with:
utils/docker-run support/testing/run-tests \
-k -d dl -o output_folder tests.package.test_rust

Nicolas Serafini (4):
package/rust: bump version to 1.94.1 package/rust{,-bin}: fix bootstrap build for Rust >= 1.89.0
package: update cargo suffix to -cargo5 and fix hashes
rust: add support for riscv64gc-unknown-linux-musl target

 package/aardvark-dns/aardvark-dns.hash        |   2 +-
 package/aichat/aichat.hash                    |   2 +-
 package/bat/bat.hash                          |   2 +-
 package/broot/broot.hash                      |   2 +-
 package/dust/dust.hash                        |   2 +-
 package/espflash/espflash.hash                |   2 +-
 package/eza/eza.hash                          |   2 +-
 package/fd/fd.hash                            |   2 +-
 package/hyperfine/hyperfine.hash              |   2 +-
 package/kibi/kibi.hash                        |   2 +-
 package/kmon/kmon.hash                        |   2 +-
 package/libzenoh-c/libzenoh-c.hash            |   2 +-
 package/netavark/netavark.hash                |   2 +-
 package/nushell/nushell.hash                  |   2 +-
 package/parsec-tool/parsec-tool.hash          |   2 +-
 package/parsec/parsec.hash                    |   2 +-
 package/pkg-download.mk                       |   2 +-
 package/procs/procs.hash                      |   2 +-
 package/python-bcrypt/python-bcrypt.hash      |   2 +-
 .../python-cryptography.hash                  |   2 +-
 package/python-logbook/python-logbook.hash    |   2 +-
 package/python-maturin/python-maturin.hash    |   2 +-
 package/python-orjson/python-orjson.hash      |   2 +-
 .../python-pydantic-core.hash                 |   2 +-
 package/python-rpds-py/python-rpds-py.hash    |   2 +-
 package/python-rtoml/python-rtoml.hash        |   2 +-
 package/python-selenium/python-selenium.hash  |   2 +-
 package/ripgrep/ripgrep.hash                  |   2 +-
 package/rust-bin/rust-bin.hash                | 130 +++++++++---------
 package/rust-bin/rust-bin.mk                  |   6 +-
 package/rust-bindgen/rust-bindgen.hash        |   2 +-
 package/rust/rust.hash                        |   4 +-
 package/rust/rust.mk                          |   3 +-
 package/rustc/Config.in.host                  |   5 +
 package/sentry-cli/sentry-cli.hash            |   2 +-
 package/tbtools/tbtools.hash                  |   2 +-
 package/tealdeer/tealdeer.hash                |   2 +-
 package/uefisettings/uefisettings.hash        |   2 +-
 package/zellij/zellij.hash                    |   2 +-
 package/zoxide/zoxide.hash                    |   2 +-
 utils/update-rust                             |   1 +
 41 files changed, 114 insertions(+), 105 deletions(-)
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot