[PATCH 0/3] Rust 1.78.0 upgrade

From: Miguel Ojeda
Date: Mon Apr 01 2024 - 17:23:55 EST


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

Link: https://lore.kernel.org/rust-for-linux/20240328013603.206764-1-wedsonaf@xxxxxxxxx/ [1]

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