From f89af74f592f9c67cc127ee223e96266c661ffed Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 14 Jul 2025 11:33:50 -0400 Subject: [PATCH] fix: error about detached ArrayBuffer --- src/rs_lib/Cargo.lock | 6 ++---- src/rs_lib/Cargo.toml | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/rs_lib/Cargo.lock b/src/rs_lib/Cargo.lock index fdad4b2..46b3de0 100644 --- a/src/rs_lib/Cargo.lock +++ b/src/rs_lib/Cargo.lock @@ -2592,8 +2592,7 @@ dependencies = [ [[package]] name = "sys_traits" version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc4707edf3196e8037ee45018d1bb1bfb233b0e4fc440fa3d3f25bc69bfdaf26" +source = "git+https://github.com/devsnek/sys_traits?branch=avoid-to-vec#bd22388b36fc65bfb9b00143a81b7cb73cf1cf88" dependencies = [ "getrandom", "js-sys", @@ -2607,8 +2606,7 @@ dependencies = [ [[package]] name = "sys_traits_macros" version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "181f22127402abcf8ee5c83ccd5b408933fec36a6095cf82cda545634692657e" +source = "git+https://github.com/devsnek/sys_traits?branch=avoid-to-vec#bd22388b36fc65bfb9b00143a81b7cb73cf1cf88" dependencies = [ "proc-macro2", "quote", diff --git a/src/rs_lib/Cargo.toml b/src/rs_lib/Cargo.toml index 275d043..b56323b 100644 --- a/src/rs_lib/Cargo.toml +++ b/src/rs_lib/Cargo.toml @@ -71,3 +71,6 @@ codegen-units = 1 incremental = true lto = true opt-level = "z" + +[patch.crates-io] +sys_traits = { git = "https://github.com/devsnek/sys_traits", branch = "avoid-to-vec" }