[PATCH 0/3] Rust 1.78.0 upgrade

Miguel Ojeda posted 3 patches 1 year, 10 months ago
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(-)
[PATCH 0/3] Rust 1.78.0 upgrade
Posted by Miguel Ojeda 1 year, 10 months ago
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@gmail.com/ [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
Re: [PATCH 0/3] Rust 1.78.0 upgrade
Posted by Miguel Ojeda 1 year, 9 months ago
On Mon, Apr 1, 2024 at 11:23 PM Miguel Ojeda <ojeda@kernel.org> wrote:
>
> 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).

[ Added a few more details and links I mentioned in the list. - Miguel ]

Applied to `rust-next` -- thanks everyone!

Cheers,
Miguel