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.
This commit is contained in:
Kurdistan Tech Ministry committed 2026-04-24 23:34:27 +03:00
1 parent a88c024e38
commit 05c31c9ee9
1 file changed
+3
+3
View File
@@ -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" }