From 05c31c9ee97da5755d3858868af35493b6bbd112 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Fri, 24 Apr 2026 23:34:27 +0300 Subject: [PATCH] Patch arrayvec 0.7.6 for wasm32v1-none compatibility arrayvec 0.7.6 fails to compile on wasm32v1-none (Rust 1.87+): - E0223: Self::Target/Self::IntoIter ambiguous due to Receiver trait - char.rs: Ok/Err/Result not in scope (prelude not injected on target_os=none) Fork at git.pezkuwichain.io/pezkuwichain/arrayvec fixes both issues. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 50d0bbf0..0abd524e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1702,3 +1702,6 @@ zeroize = { opt-level = 3 } [patch.crates-io] serde = { git = "https://github.com/pezkuwichain/serde.git", branch = "fix-wasm32v1-none" } serde_core = { git = "https://github.com/pezkuwichain/serde.git", branch = "fix-wasm32v1-none" } +# arrayvec 0.7.6 fails on wasm32v1-none: E0223 Self::Target/Self::IntoIter ambiguity +# (Rust 1.87+ Receiver trait) + missing prelude in char.rs on target_os=none +arrayvec = { git = "https://git.pezkuwichain.io/pezkuwichain/arrayvec.git", branch = "main" }