fix: patch core2 0.4.0 via git mirror to unblock wasm sub-build resolution

core2 0.4.0 was yanked from crates.io. Wasm runtime builds invoke cargo
as a subprocess without --locked, causing fresh dependency resolution to
fail when selecting core2 ^0.4 (no non-yanked version available).

The dependency path: pezsc-network -> cid v0.9.0 -> core2 ^0.4

Adding a git mirror at git.pezkuwichain.io/pezkuwichain/core2 as a
workspace [patch.crates-io] entry. The wasm-builder propagates workspace
patches to the generated wbuild Cargo.toml, so the sub-build resolves
core2 from the git source instead of the yanked crates.io version.
This commit is contained in:
Kurdistan Tech Ministry committed 2026-04-25 05:46:20 +03:00
1 parent 45b58174c0
commit 90aa6f5350
2 files changed
+641 -639

No files matched your search

Generated
+1 -2
View File
@@ -3317,8 +3317,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]] [[package]]
name = "core2" name = "core2"
version = "0.4.0" version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://git.pezkuwichain.io/pezkuwichain/core2.git?branch=master#d1abdf18381ccda73916e9a10d9c4075cdb12805"
checksum = "b49ba7ef1ad6107f8824dbe97de947cbaac53c44e7f9756a1fba0d37c1eec505"
dependencies = [ dependencies = [
"memchr", "memchr",
] ]
+640 -637
View File
File diff suppressed because it is too large. Load diff