From afa717caf5bd6cbb90f5395e2642ffa679cac5be Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Sun, 20 Nov 2022 15:09:25 -0800 Subject: [PATCH] downgrade os_str_bytes to v6.3.1 in b3sum/Cargo.lock v6.4.0 has a bug where invalid UTF-16 filenames fail a debug_assert on Windows. See https://github.com/dylni/os_str_bytes/issues/14. The vast majority of b3sum users should be running a binary built in release mode and shouldn't be affected by this. This lockfile change fixes our CI, but note that `cargo install` doesn't respect lockfiles by default (without --locked), so anyone running a debug binary against invalid Windows filepaths (very rare) will still need to wait for an upstream patch release. --- b3sum/Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/b3sum/Cargo.lock b/b3sum/Cargo.lock index 41ecac77c..a8246ab18 100644 --- a/b3sum/Cargo.lock +++ b/b3sum/Cargo.lock @@ -358,9 +358,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.4.0" +version = "6.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5bf27447411e9ee3ff51186bf7a08e16c341efdde93f4d823e8844429bed7e" +checksum = "3baf96e39c5359d2eb0dd6ccb42c62b91d9678aa68160d261b9e0ccbf9e9dea9" [[package]] name = "proc-macro-error"