Skip to content

Rust 1.78.0 upgrade

Miguel Ojeda linux-patches lkml rust-for-linux 1 version Applied

Status from this message: Applied to `rust-next` -- thanks everyone!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3rust: sync: implement `Default` for `LockClassKey`rust/kernel/sync.rs+6 -03 replies
2/3rust: kernel: remove redundant importsrust/kernel/alloc.rs rust/kernel/alloc/allocator.rs rust/kernel/alloc/box_ext.rs +12 more+5 -271 reply
3/3rust: upgrade to Rust 1.78.0Documentation/process/changes.rst scripts/generate_rust_target.rs scripts/min-tool-version.sh+3 -32 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBoqun FengAlice RyhlBenno Lossin
1/3R-b R-b R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] Rust 1.78.0 upgrade

This is the first upgrade without the alloc fork.

In other words, it is based on top of Wedson's "Allocation APIs" series [1], applied on top of the current rust-next, i.e. commit 9ffe2a730313 ("rust: str: add {make,to}_{upper,lower}case() to CString").

Please note that Rust 1.78.0 will be released in a month (2024-05-02).

Miguel Ojeda (3):
rust: sync: implement Default for LockClassKey
rust: kernel: remove redundant imports
rust: upgrade to Rust 1.78.0

 Documentation/process/changes.rst | 2 +-
 rust/kernel/alloc.rs              | 1 -
 rust/kernel/alloc/allocator.rs    | 2 --
 rust/kernel/alloc/box_ext.rs      | 1 -
 rust/kernel/alloc/vec_ext.rs      | 1 -
 rust/kernel/error.rs              | 1 -
 rust/kernel/net/phy.rs            | 2 +-
 rust/kernel/print.rs              | 5 -----
 rust/kernel/str.rs                | 5 +----
 rust/kernel/sync.rs               | 6 ++++++
 rust/kernel/sync/arc.rs           | 1 -
 rust/kernel/sync/condvar.rs       | 1 -
 rust/kernel/sync/lock.rs          | 2 +-
 rust/kernel/sync/lock/mutex.rs    | 2 --
 rust/kernel/sync/lock/spinlock.rs | 2 --
 rust/kernel/task.rs               | 2 +-
 rust/kernel/workqueue.rs          | 4 +---
 scripts/generate_rust_target.rs   | 2 +-
 scripts/min-tool-version.sh       | 2 +-
 19 files changed, 14 insertions(+), 30 deletions(-)

--
2.44.0