All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Murray <scott.murray@konsulko.com>
To: yocto-patches@lists.yoctoproject.org
Subject: [meta-lts-mixins][kirkstone/rust][PATCH 00/38] Update to Rust 1.85.1
Date: Thu,  1 May 2025 16:39:36 -0400	[thread overview]
Message-ID: <cover.1746130391.git.scott.murray@konsulko.com> (raw)

After more of a delay than I would like, here is the patch series to
backport the various Rust toolchain changes for the 1.81.0 -> 1.85.1
updates that have landed in oe-core master branch in the last several
months.

The likely most impactful change for users is that in order to fix being
able to build python3-cryptography with Rust >= 1.83, I have had to
backport newer versions of python3-setuptools-rust, and more importantly,
python3-setuptools.  Extracting the required fixes in setuptools-rust
seems potentially possible, but untangling the change history in it got
to the point where I lost confidence in not accidentally breaking some
behavior relied upon by downstream users.  As such, using the tested
version from scarthgap branch seems a better solution for now.
That said, if you are a heavy Python module user, there may be some
potential for breakage due to the unexpected setuptools upgrade.  I have
not seen issues in my testing with oe-core recipes, but have not yet tried
a world build of all of meta-python.

I have also included a README.me update to document my requirements /
guidelines for submissions of bbappends in dynamic layers.  They are
for the most part what I posted a few weeks back.

I intend to push this series to kirkstone/rust in about 48 hours
unless a serious showstopper is pointed out.

Changes:

Alexander Kanavin (1):
  rust: restore parallel builds, disable lto only for rustdoc

Deepesh Varatharajan (13):
  rust: Upgrade 1.81.0->1.82.0
  rust: oe-selftest issue fix with v1.82
  rust: Oe-selftest changes for rust v1.82.0
  rust: Upgrade 1.82.0->1.83.0
  rust: Fix build break because of download-ci-llvm
  rust: Oe-selftest changes for rust v1.83.0
  rust: Fix bloat issue in recent rust updates
  rust: Fix build break because of "download-rustc" and "llvm-tools"
  rust: Upgrade 1.83.0->1.84.1
  rust: Fix build failure when multilibs are enabled
  rust: Oe-selftest changes for rust v1.84.1
  rust: re-enable the unit tests that are ignored
  rust: re-enable the unit tests that are ignored

Enrico Scholz (1):
  cargo_common: use 'config.toml' instead of plain 'config'

Harish Sadineni (2):
  rust: fix for rust multilib sdk configuration
  rust: remove redundant cargo config file

Igor Opaniuk (1):
  rust/README-rust.md: fix markdown style issues

Jean-Pierre Geslin (1):
  cargo: pass PACKAGECONFIG_CONFARGS to cargo build

Khem Raj (3):
  rust-llvm: Fix build break found with clang
  rust-llvm: Disable benchmarks by cmake options
  cargo-c,rust: Fix build on risv32

Martin Jansa (1):
  cargo.bbclass: show PACKAGECONFIG_CONFARGS in bbnote

Pedro Ferreira (1):
  rust-common.bbclass: soft assignment for RUSTLIB path

Peter Kjellerstedt (1):
  libstd-rs: Correct the license to use Unicode-3.0

Richard Purdie (5):
  meta/meta-selftest: Fix variable assignment whitespace
  recipes: Drop ld-is-gold support
  rust-source: Fix remove_gcc_directory
  rust-llvm: Compile llvm to use dynamic libraries
  rust-llvm: Disable libedit

Scott Murray (3):
  Add selftest backport to ease maintenance
  Backport newer Python setuptools-rust and setuptools
  Update README.md wrt dynamic layer submissions

Sean Nyekjaer (1):
  rust-cross-canadian: set CC_<triple> for nativesdk

Yash Shinde (3):
  rust: Update "do_update_snapshot" task for rust-snapshot.inc
  rust: Upgrade 1.84.1->1.85.0
  rust: Upgrade 1.85.0->1.85.1

Yoann Congal (1):
  cargo-c: Update patch Upstream-Status

 README.md                                     |  49 ++-
 classes/cargo.bbclass                         |   6 +-
 classes/cargo_common.bbclass                  |  20 +-
 classes/rust-common.bbclass                   |   2 +-
 classes/rust-target-config.bbclass            |   5 +
 classes/rust.bbclass                          |   8 +-
 conf/layer.conf                               |   8 +-
 files/common-licenses/Unicode-3.0             |  39 +++
 lib/oeqa/selftest/cases/rust_mixin.py         | 134 ++++++++
 meta/lib/oeqa/selftest/cases/rust.py          |  85 -----
 .../packagegroup-rust-cross-canadian.bb       |   2 +-
 .../python/python3-setuptools-rust_1.9.0.bb   |  35 ++
 .../python3-setuptools-scm_6.4.2.bbappend     |   2 +
 ...nfig.py-make-it-possible-to-substite.patch |  58 ++++
 ...ly-do-not-fetch-code-by-easy_install.patch |  31 ++
 .../python3-setuptools/CVE-2024-6345.patch    | 312 ++++++++++++++++++
 .../python/python3-setuptools_69.1.1.bb       |  58 ++++
 recipes-devtools/rust/README-rust.md          |  24 +-
 ...l-codes-on-riscv32gc-unknown-linux-g.patch |  38 +++
 .../rust/cargo-c_0.10.5+cargo-0.83.0.bb       |   1 +
 .../rust/{cargo_1.81.0.bb => cargo_1.85.1.bb} |  13 +
 ...l-codes-on-riscv32gc-unknown-linux-g.patch | 112 +++++++
 ...teps-tool.rs-switch-off-lto-for-rust.patch |  46 +++
 .../Zdual-proc-macros-additional-check.patch  |  31 ++
 ...epro-issue-fix-with-cc-crate-hashmap.patch |  90 ++++-
 ...d-statically-in-rustc_driver-feature.patch | 228 +++++++++++++
 .../rust/files/rust-oe-selftest.patch         | 279 +++++-----------
 ...ue-fix-cargo-config-for-codegenunits.patch |  26 --
 .../files/rv32-cargo-rustix-0.38.28-fix.patch |  70 ----
 .../rust/files/rv32-rustix-libc-backend.patch |  33 --
 .../rust/files/zlib-off64_t.patch             |  31 --
 ...ibstd-rs_1.81.0.bb => libstd-rs_1.85.1.bb} |  11 +-
 recipes-devtools/rust/rust-cross-canadian.inc |  24 +-
 ....81.0.bb => rust-cross-canadian_1.85.1.bb} |   0
 .../0003-llvm-fix-include-benchmarks.patch    |  25 --
 ...ust-llvm_1.81.0.bb => rust-llvm_1.85.1.bb} |   8 +-
 recipes-devtools/rust/rust-snapshot.inc       |  81 ++---
 recipes-devtools/rust/rust-source.inc         |  10 +-
 .../rust/{rust_1.81.0.bb => rust_1.85.1.bb}   |  76 +++--
 39 files changed, 1492 insertions(+), 619 deletions(-)
 create mode 100644 files/common-licenses/Unicode-3.0
 create mode 100644 lib/oeqa/selftest/cases/rust_mixin.py
 delete mode 100644 meta/lib/oeqa/selftest/cases/rust.py
 create mode 100644 recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
 create mode 100644 recipes-devtools/python/python3-setuptools-scm_6.4.2.bbappend
 create mode 100644 recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
 create mode 100644 recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
 create mode 100644 recipes-devtools/python/python3-setuptools/CVE-2024-6345.patch
 create mode 100644 recipes-devtools/python/python3-setuptools_69.1.1.bb
 create mode 100644 recipes-devtools/rust/cargo-c/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
 rename recipes-devtools/rust/{cargo_1.81.0.bb => cargo_1.85.1.bb} (87%)
 create mode 100644 recipes-devtools/rust/files/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
 create mode 100644 recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch
 create mode 100644 recipes-devtools/rust/files/Zdual-proc-macros-additional-check.patch
 create mode 100644 recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
 delete mode 100644 recipes-devtools/rust/files/rustdoc-repro-issue-fix-cargo-config-for-codegenunits.patch
 delete mode 100644 recipes-devtools/rust/files/rv32-cargo-rustix-0.38.28-fix.patch
 delete mode 100644 recipes-devtools/rust/files/rv32-rustix-libc-backend.patch
 delete mode 100644 recipes-devtools/rust/files/zlib-off64_t.patch
 rename recipes-devtools/rust/{libstd-rs_1.81.0.bb => libstd-rs_1.85.1.bb} (76%)
 rename recipes-devtools/rust/{rust-cross-canadian_1.81.0.bb => rust-cross-canadian_1.85.1.bb} (100%)
 delete mode 100644 recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
 rename recipes-devtools/rust/{rust-llvm_1.81.0.bb => rust-llvm_1.85.1.bb} (94%)
 rename recipes-devtools/rust/{rust_1.81.0.bb => rust_1.85.1.bb} (81%)

-- 
2.49.0



             reply	other threads:[~2025-05-01 20:40 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-01 20:39 Scott Murray [this message]
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 01/38] Add selftest backport to ease maintenance Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 02/38] rust: fix for rust multilib sdk configuration Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 03/38] rust: remove redundant cargo config file Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 04/38] rust-cross-canadian: set CC_<triple> for nativesdk Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 05/38] rust-common.bbclass: soft assignment for RUSTLIB path Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 06/38] meta/meta-selftest: Fix variable assignment whitespace Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 07/38] rust/README-rust.md: fix markdown style issues Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 08/38] rust: restore parallel builds, disable lto only for rustdoc Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 09/38] recipes: Drop ld-is-gold support Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 10/38] rust: Upgrade 1.81.0->1.82.0 Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 11/38] rust: oe-selftest issue fix with v1.82 Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 12/38] rust: Oe-selftest changes for rust v1.82.0 Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 13/38] cargo_common: use 'config.toml' instead of plain 'config' Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 14/38] rust-llvm: Fix build break found with clang Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 15/38] rust: Upgrade 1.82.0->1.83.0 Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 16/38] rust: Fix build break because of download-ci-llvm Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 17/38] rust: Oe-selftest changes for rust v1.83.0 Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 18/38] Backport newer Python setuptools-rust and setuptools Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 19/38] cargo: pass PACKAGECONFIG_CONFARGS to cargo build Scott Murray
2025-05-04 16:42   ` [yocto-patches] " Marko, Peter
2025-05-05 14:08     ` Scott Murray
2025-05-05 14:33       ` Marko, Peter
2025-05-05 15:19         ` Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 20/38] cargo.bbclass: show PACKAGECONFIG_CONFARGS in bbnote Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 21/38] rust: Fix bloat issue in recent rust updates Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 22/38] rust: Fix build break because of "download-rustc" and "llvm-tools" Scott Murray
2025-05-01 20:39 ` [meta-lts-mixins][kirkstone/rust][PATCH 23/38] rust: Upgrade 1.83.0->1.84.1 Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 24/38] rust: Fix build failure when multilibs are enabled Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 25/38] rust: Oe-selftest changes for rust v1.84.1 Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 26/38] rust-source: Fix remove_gcc_directory Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 27/38] rust-llvm: Compile llvm to use dynamic libraries Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 28/38] rust: Update "do_update_snapshot" task for rust-snapshot.inc Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 29/38] rust: Upgrade 1.84.1->1.85.0 Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 30/38] rust: Upgrade 1.85.0->1.85.1 Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 31/38] rust-llvm: Disable libedit Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 32/38] rust-llvm: Disable benchmarks by cmake options Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 33/38] cargo-c,rust: Fix build on risv32 Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 34/38] libstd-rs: Correct the license to use Unicode-3.0 Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 35/38] cargo-c: Update patch Upstream-Status Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 36/38] rust: re-enable the unit tests that are ignored Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 37/38] " Scott Murray
2025-05-01 20:40 ` [meta-lts-mixins][kirkstone/rust][PATCH 38/38] Update README.md wrt dynamic layer submissions Scott Murray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1746130391.git.scott.murray@konsulko.com \
    --to=scott.murray@konsulko.com \
    --cc=yocto-patches@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.