Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/4] package/rust: bump to 1.94.1 and fix bootstrap
@ 2026-04-10 22:42 Nicolas Serafini via buildroot
  2026-04-10 22:42 ` [Buildroot] [PATCH 1/4] package/rust: bump version to 1.94.1 Nicolas Serafini via buildroot
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Nicolas Serafini via buildroot @ 2026-04-10 22:42 UTC (permalink / raw)
  To: buildroot
  Cc: Eric Le Bihan, Joseph Kogut, Simon Richter, David Pierret,
	Danilo Bargen, Bernd Kuhls, Graeme Smecher, Julien Olivain,
	Torben Voltmer, Nicolas Serafini, James Hilliard, Manuel Diener,
	Alexander Shirokov, Sam Voss, Saeed Kazemi, Alex Michel,
	Leo Yu-Chi Liang, Mika Westerberg, Shubham Chakraborty

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/20251218222527.3861751-1-bernd@kuhls.net/
  - Simon Richter, bump to 1.93.1 (Feb 2026)
    https://patchwork.ozlabs.org/project/buildroot/patch/20260226073135.64960-1-simon@sinic.eu/

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/20251028045833.2792350-1-manio@skyboo.net/
        https://patchwork.ozlabs.org/project/buildroot/patch/20251218222527.3861751-3-bernd@kuhls.net/

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(-)

-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-04-13 19:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 22:42 [Buildroot] [PATCH 0/4] package/rust: bump to 1.94.1 and fix bootstrap Nicolas Serafini via buildroot
2026-04-10 22:42 ` [Buildroot] [PATCH 1/4] package/rust: bump version to 1.94.1 Nicolas Serafini via buildroot
2026-04-13 19:21   ` Julien Olivain via buildroot
2026-04-10 22:42 ` [Buildroot] [PATCH 2/4] package/rust{, -bin}: fix bootstrap build for Rust >= 1.89.0 Nicolas Serafini via buildroot
2026-04-10 22:42 ` [Buildroot] [PATCH 3/4] package: update cargo suffix to -cargo5 and fix hashes Nicolas Serafini via buildroot
2026-04-10 22:42 ` [Buildroot] [PATCH 4/4] rust: add support for riscv64gc-unknown-linux-musl target Nicolas Serafini via buildroot
2026-04-13 17:35 ` [Buildroot] [PATCH 0/4] package/rust: bump to 1.94.1 and fix bootstrap Marcus Hoffmann via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox