[go: nahoru, domu]

Roll bytemuck: 1.16.0 => 1.16.1 in //third_party/rust.

This CL has been created semi-automatically.  The expected review
process and other details can be found at
//tools/crates/create_update_cl.md

Updated crates:

* bytemuck: 1.16.0 => 1.16.1

Chromium `supply-chain/config.toml` policy requires that the following
audit criteria are met (note that these are the *minimum* required
criteria and `supply-chain/audits.toml` can and should record a stricter
certification if possible;  see also //docs/rust-unsafe.md):

* bytemuck@1.16.1: crypto-safe, safe-to-deploy, ub-risk-2

Bug: None
Change-Id: Id6a8c5b9be9afab263f84b5ca22bb0ff256b6886
Cq-Include-Trybots: chromium/try:android-rust-arm32-rel
Cq-Include-Trybots: chromium/try:android-rust-arm64-dbg
Cq-Include-Trybots: chromium/try:android-rust-arm64-rel
Cq-Include-Trybots: chromium/try:linux-rust-x64-dbg
Cq-Include-Trybots: chromium/try:linux-rust-x64-rel
Cq-Include-Trybots: chromium/try:win-rust-x64-dbg
Cq-Include-Trybots: chromium/try:win-rust-x64-rel
Disable-Rts: True
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5650895
Auto-Submit: Ɓukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Adrian Taylor <adetaylor@google.com>
Reviewed-by: Adrian Taylor <adetaylor@google.com>
Cr-Commit-Position: refs/heads/main@{#1318877}
diff --git a/infra/inclusive_language_presubmit_exempt_dirs.txt b/infra/inclusive_language_presubmit_exempt_dirs.txt
index f2ab4a4..5603b6e 100644
--- a/infra/inclusive_language_presubmit_exempt_dirs.txt
+++ b/infra/inclusive_language_presubmit_exempt_dirs.txt
@@ -589,7 +589,6 @@
 third_party/mediapipe/src/third_party 1 1
 third_party/metrics_proto 2 1
 third_party/microsoft_webauthn 1 1
-third_party/ninja 1 1
 third_party/node/patches 2 1
 third_party/ocmock/OCMock 2 1
 third_party/opus/src/doc 1 1
diff --git a/third_party/rust/bytemuck/v1/BUILD.gn b/third_party/rust/bytemuck/v1/BUILD.gn
index 6f49094..d97e3116 100644
--- a/third_party/rust/bytemuck/v1/BUILD.gn
+++ b/third_party/rust/bytemuck/v1/BUILD.gn
@@ -13,28 +13,28 @@
   epoch = "1"
   crate_type = "rlib"
   crate_root =
-      "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/lib.rs"
+      "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/lib.rs"
   sources = [
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/allocation.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/anybitpattern.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/checked.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/contiguous.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/internal.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/lib.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/must.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/no_uninit.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/offset_of.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/pod.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/pod_in_option.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/transparent.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/zeroable.rs",
-    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/zeroable_in_option.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/allocation.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/anybitpattern.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/checked.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/contiguous.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/internal.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/lib.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/must.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/no_uninit.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/offset_of.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/pod.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/pod_in_option.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/transparent.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/zeroable.rs",
+    "//third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/zeroable_in_option.rs",
   ]
   inputs = []
 
   build_native_rust_unit_tests = false
   edition = "2018"
-  cargo_pkg_version = "1.16.0"
+  cargo_pkg_version = "1.16.1"
   cargo_pkg_authors = "Lokathor <zefria@gmail.com>"
   cargo_pkg_name = "bytemuck"
   cargo_pkg_description = "A crate for mucking around with piles of bytes."
diff --git a/third_party/rust/bytemuck/v1/README.chromium b/third_party/rust/bytemuck/v1/README.chromium
index cd9a20d..d14fa63 100644
--- a/third_party/rust/bytemuck/v1/README.chromium
+++ b/third_party/rust/bytemuck/v1/README.chromium
@@ -1,9 +1,9 @@
 Name: bytemuck
 URL: https://crates.io/crates/bytemuck
 Description: A crate for mucking around with piles of bytes.
-Version: 1.16.0
+Version: 1.16.1
 Security Critical: yes
 Shipped: yes
 License: Apache 2.0
-License File: //third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/LICENSE-APACHE
-Revision: 4c46b919e2cccae67b3ef2648b1f746d0638afb3
+License File: //third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/LICENSE-APACHE
+Revision: 02ffd53a4e42497574f06eba5907212b66a71a3a
diff --git a/third_party/rust/chromium_crates_io/Cargo.lock b/third_party/rust/chromium_crates_io/Cargo.lock
index afaa2234..90b608f0 100644
--- a/third_party/rust/chromium_crates_io/Cargo.lock
+++ b/third_party/rust/chromium_crates_io/Cargo.lock
@@ -32,7 +32,7 @@
 
 [[package]]
 name = "bytemuck"
-version = "1.16.0"
+version = "1.16.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 dependencies = [
  "bytemuck_derive",
diff --git a/third_party/rust/chromium_crates_io/supply-chain/audits.toml b/third_party/rust/chromium_crates_io/supply-chain/audits.toml
index d62b19b..f3a15ec 100644
--- a/third_party/rust/chromium_crates_io/supply-chain/audits.toml
+++ b/third_party/rust/chromium_crates_io/supply-chain/audits.toml
@@ -219,6 +219,15 @@
 criteria = ["safe-to-deploy", "does-not-implement-crypto", "ub-risk-2"]
 delta = "1.15.0 -> 1.16.0"
 
+[[audits.bytemuck]]
+who = "Lukasz Anforowicz <lukasza@chromium.org>"
+criteria = ["safe-to-deploy", "does-not-implement-crypto", "ub-risk-2"]
+delta = "1.16.0 -> 1.16.1"
+notes = """
+The delta only adds `f16` and `f128` support (with some other minor changes)
+and has no impact on the audit criteria.
+"""
+
 [[audits.bytemuck_derive]]
 who = "Lukasz Anforowicz <lukasza@chromium.org>"
 criteria = ["safe-to-deploy", "does-not-implement-crypto", "ub-risk-2"]
diff --git a/third_party/rust/chromium_crates_io/supply-chain/config.toml b/third_party/rust/chromium_crates_io/supply-chain/config.toml
index a223d31..37e43ea 100644
--- a/third_party/rust/chromium_crates_io/supply-chain/config.toml
+++ b/third_party/rust/chromium_crates_io/supply-chain/config.toml
@@ -56,7 +56,7 @@
 [policy."bitflags:2.5.0"]
 criteria = ["crypto-safe", "safe-to-deploy", "ub-risk-2"]
 
-[policy."bytemuck:1.16.0"]
+[policy."bytemuck:1.16.1"]
 criteria = ["crypto-safe", "safe-to-deploy", "ub-risk-2"]
 
 [policy."bytemuck_derive:1.7.0"]
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.cargo_vcs_info.json b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.cargo_vcs_info.json
deleted file mode 100644
index cec6eea..0000000
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.cargo_vcs_info.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-  "git": {
-    "sha1": "4c46b919e2cccae67b3ef2648b1f746d0638afb3"
-  },
-  "path_in_vcs": ""
-}
\ No newline at end of file
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.cargo-checksum.json b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.cargo-checksum.json
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.cargo-checksum.json
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.cargo-checksum.json
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.cargo/config.toml b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.cargo/config.toml
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.cargo/config.toml
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.cargo/config.toml
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.cargo_vcs_info.json b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.cargo_vcs_info.json
new file mode 100644
index 0000000..1aad1c94
--- /dev/null
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.cargo_vcs_info.json
@@ -0,0 +1,6 @@
+{
+  "git": {
+    "sha1": "02ffd53a4e42497574f06eba5907212b66a71a3a"
+  },
+  "path_in_vcs": ""
+}
\ No newline at end of file
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.github/FUNDING.yml b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.github/FUNDING.yml
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.github/FUNDING.yml
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.github/FUNDING.yml
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.github/workflows/rust.yml b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.github/workflows/rust.yml
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.github/workflows/rust.yml
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.github/workflows/rust.yml
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.gitignore b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.gitignore
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/.gitignore
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/.gitignore
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/Cargo.toml b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/Cargo.toml
similarity index 94%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/Cargo.toml
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/Cargo.toml
index 070d0042..e9c21da 100644
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/Cargo.toml
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/Cargo.toml
@@ -12,7 +12,7 @@
 [package]
 edition = "2018"
 name = "bytemuck"
-version = "1.16.0"
+version = "1.16.1"
 authors = ["Lokathor <zefria@gmail.com>"]
 build = false
 exclude = ["/pedantic.bat"]
@@ -115,9 +115,15 @@
 min_const_generics = []
 must_cast = []
 nightly_docs = []
+nightly_float = []
 nightly_portable_simd = []
 nightly_stdsimd = []
 unsound_ptr_pod_impl = []
 wasm_simd = []
 zeroable_atomics = []
 zeroable_maybe_uninit = []
+
+[lints.rust.unexpected_cfgs]
+level = "deny"
+priority = 0
+check-cfg = ["cfg(target_arch, values(\"spirv\"))"]
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/Cargo.toml.orig b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/Cargo.toml.orig
similarity index 92%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/Cargo.toml.orig
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/Cargo.toml.orig
index bde27361..dda25b9 100644
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/Cargo.toml.orig
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/Cargo.toml.orig
@@ -1,7 +1,7 @@
 [package]
 name = "bytemuck"
 description = "A crate for mucking around with piles of bytes."
-version = "1.16.0"
+version = "1.16.1"
 authors = ["Lokathor <zefria@gmail.com>"]
 repository = "https://github.com/Lokathor/bytemuck"
 readme = "README.md"
@@ -42,6 +42,8 @@
 # NOT SEMVER SUPPORTED! TEMPORARY ONLY!
 nightly_portable_simd = []
 nightly_stdsimd = []
+# Enable `f16` and `f128`
+nightly_float = []
 
 # Improved documentation using the nightly toolchain
 nightly_docs = []
@@ -49,6 +51,9 @@
 [dependencies]
 bytemuck_derive = { version = "1.4", path = "derive", optional = true }
 
+[lints.rust]
+unexpected_cfgs = { level = "deny", check-cfg = ['cfg(target_arch, values("spirv"))'] }
+
 [package.metadata.docs.rs]
 # Note(Lokathor): Don't use all-features or it would use `unsound_ptr_pod_impl` too.
 features = [
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/LICENSE-APACHE b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/LICENSE-APACHE
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/LICENSE-APACHE
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/LICENSE-APACHE
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/LICENSE-MIT b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/LICENSE-MIT
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/LICENSE-MIT
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/LICENSE-MIT
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/LICENSE-ZLIB b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/LICENSE-ZLIB
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/LICENSE-ZLIB
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/LICENSE-ZLIB
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/README.md b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/README.md
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/README.md
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/README.md
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/changelog.md b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/changelog.md
similarity index 98%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/changelog.md
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/changelog.md
index 66f0cec..58f5af8 100644
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/changelog.md
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/changelog.md
@@ -1,5 +1,11 @@
 # `bytemuck` changelog
 
+## 1.16.1
+
+* **NOT SEMVER SUPPORTED:** Adds the  `nightly_float` Cargo feature. This
+  activates the `f16` and `f128` nightly features, and then provides `Zeroable`
+  and `Pod` impls for those types.
+
 ## 1.16.0
 
 * Adds a `const_zeroed` feature (MSRV 1.75) which puts a `zeroed` fn at the crate root.
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/rustfmt.toml b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/rustfmt.toml
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/rustfmt.toml
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/rustfmt.toml
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/allocation.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/allocation.rs
similarity index 99%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/allocation.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/allocation.rs
index bdcf724..1763ffd1 100644
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/allocation.rs
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/allocation.rs
@@ -1,4 +1,5 @@
 #![cfg(feature = "extern_crate_alloc")]
+#![allow(clippy::duplicated_attributes)]
 
 //! Stuff to boost things in the `alloc` crate.
 //!
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/anybitpattern.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/anybitpattern.rs
similarity index 78%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/anybitpattern.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/anybitpattern.rs
index 56c6bc6..3b98b09 100644
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/anybitpattern.rs
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/anybitpattern.rs
@@ -2,12 +2,12 @@
 
 /// Marker trait for "plain old data" types that are valid for any bit pattern.
 ///
-/// The requirements for this is very similar to [`Pod`],
-/// except that the type can allow uninit (or padding) bytes.
-/// This limits what you can do with a type of this kind, but also broadens the
-/// included types to `repr(C)` `struct`s that contain padding as well as
-/// `union`s. Notably, you can only cast *immutable* references and *owned*
-/// values into [`AnyBitPattern`] types, not *mutable* references.
+/// The requirements for this is very similar to [`Pod`], except that the type
+/// can allow uninit (or padding) bytes. This limits what you can do with a type
+/// of this kind, but also broadens the included types to `repr(C)` `struct`s
+/// that contain padding as well as `union`s. Notably, you can only cast
+/// *immutable* references and *owned* values into [`AnyBitPattern`] types, not
+/// *mutable* references.
 ///
 /// [`Pod`] is a subset of [`AnyBitPattern`], meaning that any `T: Pod` is also
 /// [`AnyBitPattern`] but any `T: AnyBitPattern` is not necessarily [`Pod`].
@@ -26,8 +26,8 @@
 /// below safety rules.
 ///
 /// * *NOTE: even `C-style`, fieldless enums are intentionally **excluded** from
-/// this trait, since it is **unsound** for an enum to have a discriminant value
-/// that is not one of its defined variants.
+///   this trait, since it is **unsound** for an enum to have a discriminant
+///   value that is not one of its defined variants.
 ///
 /// # Safety
 ///
@@ -56,6 +56,9 @@
 unsafe impl<T: Pod> AnyBitPattern for T {}
 
 #[cfg(feature = "zeroable_maybe_uninit")]
-#[cfg_attr(feature = "nightly_docs", doc(cfg(feature = "zeroable_maybe_uninit")))]
+#[cfg_attr(
+  feature = "nightly_docs",
+  doc(cfg(feature = "zeroable_maybe_uninit"))
+)]
 unsafe impl<T> AnyBitPattern for core::mem::MaybeUninit<T> where T: AnyBitPattern
 {}
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/checked.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/checked.rs
similarity index 97%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/checked.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/checked.rs
index ae45823..cb8c4c3 100644
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/checked.rs
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/checked.rs
@@ -114,13 +114,13 @@
 ///
 /// # Safety
 ///
-/// * `Self` *must* have the same layout as the specified `Bits` except for
-/// the possible invalid bit patterns being checked during
-/// [`is_valid_bit_pattern`].
-///   * This almost certainly means your type must be `#[repr(C)]` or a similar
+/// * `Self` *must* have the same layout as the specified `Bits` except for the
+///   possible invalid bit patterns being checked during
+///   [`is_valid_bit_pattern`].
+/// * This almost certainly means your type must be `#[repr(C)]` or a similar
 ///   specified repr, but if you think you know better, you probably don't. If
-/// you   still think you know better, be careful and have fun. And don't mess
-/// it up   (I mean it).
+///   you still think you know better, be careful and have fun. And don't mess
+///   it up (I mean it).
 /// * If [`is_valid_bit_pattern`] returns true, then the bit pattern contained
 ///   in `bits` must also be valid for an instance of `Self`.
 /// * Probably more, don't mess it up (I mean it 2.0)
@@ -163,6 +163,7 @@
 
   #[inline]
   fn is_valid_bit_pattern(bits: &Self::Bits) -> bool {
+    // DO NOT use the `matches!` macro, it isn't 1.34 compatible.
     match *bits {
       0 | 1 => true,
       _ => false,
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/contiguous.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/contiguous.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/contiguous.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/contiguous.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/internal.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/internal.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/internal.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/internal.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/lib.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/lib.rs
similarity index 98%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/lib.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/lib.rs
index 64748179..1526587 100644
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/lib.rs
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/lib.rs
@@ -1,10 +1,12 @@
 #![no_std]
 #![warn(missing_docs)]
-#![allow(unexpected_cfgs)]
 #![allow(clippy::match_like_matches_macro)]
 #![allow(clippy::uninlined_format_args)]
+#![allow(clippy::result_unit_err)]
+#![allow(clippy::type_complexity)]
 #![cfg_attr(feature = "nightly_docs", feature(doc_cfg))]
 #![cfg_attr(feature = "nightly_portable_simd", feature(portable_simd))]
+#![cfg_attr(feature = "nightly_float", feature(f16, f128))]
 #![cfg_attr(
   all(
     feature = "nightly_stdsimd",
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/must.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/must.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/must.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/must.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/no_uninit.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/no_uninit.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/no_uninit.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/no_uninit.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/offset_of.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/offset_of.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/offset_of.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/offset_of.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/pod.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/pod.rs
similarity index 97%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/pod.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/pod.rs
index 724c0a01..92747a1 100644
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/pod.rs
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/pod.rs
@@ -49,8 +49,12 @@
 unsafe impl Pod for isize {}
 unsafe impl Pod for u128 {}
 unsafe impl Pod for i128 {}
+#[cfg(feature = "nightly_float")]
+unsafe impl Pod for f16 {}
 unsafe impl Pod for f32 {}
 unsafe impl Pod for f64 {}
+#[cfg(feature = "nightly_float")]
+unsafe impl Pod for f128 {}
 unsafe impl<T: Pod> Pod for Wrapping<T> {}
 
 #[cfg(feature = "unsound_ptr_pod_impl")]
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/pod_in_option.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/pod_in_option.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/pod_in_option.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/pod_in_option.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/transparent.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/transparent.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/transparent.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/transparent.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/zeroable.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/zeroable.rs
similarity index 98%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/zeroable.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/zeroable.rs
index f7d7ed8..60dfc8d 100644
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/zeroable.rs
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/zeroable.rs
@@ -48,8 +48,12 @@
 unsafe impl Zeroable for isize {}
 unsafe impl Zeroable for u128 {}
 unsafe impl Zeroable for i128 {}
+#[cfg(feature = "nightly_float")]
+unsafe impl Zeroable for f16 {}
 unsafe impl Zeroable for f32 {}
 unsafe impl Zeroable for f64 {}
+#[cfg(feature = "nightly_float")]
+unsafe impl Zeroable for f128 {}
 unsafe impl<T: Zeroable> Zeroable for Wrapping<T> {}
 unsafe impl<T: Zeroable> Zeroable for core::cmp::Reverse<T> {}
 
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/zeroable_in_option.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/zeroable_in_option.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/src/zeroable_in_option.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/src/zeroable_in_option.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/array_tests.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/array_tests.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/array_tests.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/array_tests.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/cast_slice_tests.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/cast_slice_tests.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/cast_slice_tests.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/cast_slice_tests.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/checked_tests.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/checked_tests.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/checked_tests.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/checked_tests.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/derive.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/derive.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/derive.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/derive.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/doc_tests.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/doc_tests.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/doc_tests.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/doc_tests.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/offset_of_tests.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/offset_of_tests.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/offset_of_tests.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/offset_of_tests.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/std_tests.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/std_tests.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/std_tests.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/std_tests.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/transparent.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/transparent.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/transparent.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/transparent.rs
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/wrapper_forgets.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/wrapper_forgets.rs
similarity index 100%
rename from third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.0/tests/wrapper_forgets.rs
rename to third_party/rust/chromium_crates_io/vendor/bytemuck-1.16.1/tests/wrapper_forgets.rs