[PATCH 0/3] Rust 1.68.2 upgrade

Miguel Ojeda
2023-04-18T21:44:36Z

This is the first upgrade to the Rust toolchain since the initial Rust
merge, from 1.62.0 to 1.68.2 (i.e. the latest).

Please see the last patch message for a long explanation of the upgrade,
the policy for future upgrades and some indications on how to easily
review this.

The series is based on `rust-next`.

Miguel Ojeda (3):
rust: alloc: clarify what is the upstream version
rust: arc: fix intra-doc link in `Arc<T>::init`
rust: upgrade to Rust 1.68.2

Documentation/process/changes.rst | 2 +-
rust/alloc/README.md | 3 +
rust/alloc/alloc.rs | 55 ++--
rust/alloc/boxed.rs | 446 ++++++++++++++++++++++++++--
rust/alloc/collections/mod.rs | 5 +-
rust/alloc/lib.rs | 71 +++--
rust/alloc/raw_vec.rs | 16 +-
rust/alloc/slice.rs | 447 ++++------------------------
rust/alloc/vec/drain.rs | 81 +++++-
rust/alloc/vec/drain_filter.rs | 60 +++-
rust/alloc/vec/into_iter.rs | 125 ++++++--
rust/alloc/vec/is_zero.rs | 96 ++++++-
rust/alloc/vec/mod.rs | 464 +++++++++++++++++++++++-------
rust/alloc/vec/set_len_on_drop.rs | 5 +
rust/alloc/vec/spec_extend.rs | 63 +---
rust/bindings/lib.rs | 1 -
rust/kernel/build_assert.rs | 2 +
rust/kernel/init.rs | 5 +
rust/kernel/lib.rs | 4 -
rust/kernel/std_vendor.rs | 2 +
rust/kernel/sync/arc.rs | 2 +-
scripts/Makefile.build | 2 +-
scripts/min-tool-version.sh | 2 +-
23 files changed, 1278 insertions(+), 681 deletions(-)

--
2.40.0