[GIT,PULL] Rust for 6.7

Message ID 20231027182558.199011-1-ojeda@kernel.org
State New
Headers
Series [GIT,PULL] Rust for 6.7 |

Pull-request

https://github.com/Rust-for-Linux/linux.git tags/rust-6.7

Message

Miguel Ojeda Oct. 27, 2023, 6:25 p.m. UTC
  Hi Linus,

This is the next round of the Rust support.

The majority of the commits have been in linux-next for 10+ days.
The younger ones have been there for 3 rounds now.

No conflicts expected. No changes to the C side.

There are also some Rust workqueue abstractions which you will likely
get through the wq tree. No conflicts expected with those either, and
tests pass with those merged too.

Please pull for v6.7 -- thanks!

Cheers,
Miguel

The following changes since commit 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa:

  Linux 6.6-rc4 (2023-10-01 14:15:13 -0700)

are available in the Git repository at:

  https://github.com/Rust-for-Linux/linux.git tags/rust-6.7

for you to fetch changes up to 3857af38e57a80b15b994e19d1f4301cac796481:

  docs: rust: add "The Rust experiment" section (2023-10-25 03:14:00 +0200)

----------------------------------------------------------------
Rust changes for v6.7

A small one compared to the previous one in terms of features. In terms
of lines, as usual, the 'alloc' version upgrade accounts for most of them.

Toolchain and infrastructure:

 - Upgrade to Rust 1.73.0.

   This time around, due to how the kernel and Rust schedules have
   aligned, there are two upgrades in fact. They contain the fixes for
   a few issues we reported to the Rust project.

   In addition, a few cleanups indicated by the upgraded compiler
   or possible thanks to it. For instance, the compiler now detects
   redundant explicit links.

 - A couple changes to the Rust 'Makefile' so that it can be used with
   toybox tools, allowing Rust to be used in the Android kernel build.

x86:

 - Enable IBT if enabled in C.

Documentation:

 - Add "The Rust experiment" section to the Rust index page.

MAINTAINERS

 - Add Maintainer Entry Profile field ('P:').

 - Update our 'W:' field to point to the webpage we have been building
   this year.

----------------------------------------------------------------
Gary Guo (1):
      rust: kernel: remove `#[allow(clippy::new_ret_no_self)]`

Matthew Maurer (3):
      rust: Use awk instead of recent xargs
      rust: Use grep -Ev rather than relying on GNU grep
      x86: Enable IBT in Rust if enabled in C

Miguel Ojeda (8):
      rust: arc: add explicit `drop()` around `Box::from_raw()`
      rust: upgrade to Rust 1.72.1
      MAINTAINERS: update Rust webpage
      MAINTAINERS: add Maintainer Entry Profile field for Rust
      rust: task: remove redundant explicit link
      rust: print: use explicit link in documentation
      rust: upgrade to Rust 1.73.0
      docs: rust: add "The Rust experiment" section

 Documentation/process/changes.rst |   2 +-
 Documentation/rust/index.rst      |  19 ++++
 MAINTAINERS                       |   3 +-
 arch/x86/Makefile                 |   1 +
 rust/Makefile                     |   8 +-
 rust/alloc/alloc.rs               |  21 ----
 rust/alloc/boxed.rs               |  56 +++++++----
 rust/alloc/lib.rs                 |  13 +--
 rust/alloc/raw_vec.rs             |  30 ++++--
 rust/alloc/vec/drain_filter.rs    | 199 --------------------------------------
 rust/alloc/vec/extract_if.rs      | 115 ++++++++++++++++++++++
 rust/alloc/vec/mod.rs             | 110 ++++++++++-----------
 rust/alloc/vec/spec_extend.rs     |   8 +-
 rust/compiler_builtins.rs         |   1 +
 rust/kernel/init.rs               |  20 ++--
 rust/kernel/print.rs              |   1 +
 rust/kernel/sync/arc.rs           |   2 +-
 rust/kernel/sync/condvar.rs       |   1 -
 rust/kernel/sync/lock.rs          |   1 -
 rust/kernel/task.rs               |   2 +-
 scripts/min-tool-version.sh       |   2 +-
 21 files changed, 279 insertions(+), 336 deletions(-)
 delete mode 100644 rust/alloc/vec/drain_filter.rs
 create mode 100644 rust/alloc/vec/extract_if.rs
  

Comments

pr-tracker-bot@kernel.org Oct. 31, 2023, 7:02 a.m. UTC | #1
The pull request you sent on Fri, 27 Oct 2023 20:25:58 +0200:

> https://github.com/Rust-for-Linux/linux.git tags/rust-6.7

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/455cdcb45f8fa9e7c70273e7bec0537ff02d5247

Thank you!