mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 23:31:04 +00:00
get compiling on wasm
This commit is contained in:
Generated
-1
@@ -1064,7 +1064,6 @@ version = "0.1.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
"blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"fixed-hash 0.1.3 (git+https://github.com/rphmeier/primitives.git?branch=compile-for-wasm)",
|
"fixed-hash 0.1.3 (git+https://github.com/rphmeier/primitives.git?branch=compile-for-wasm)",
|
||||||
"polkadot-runtime-codec 0.1.0",
|
"polkadot-runtime-codec 0.1.0",
|
||||||
"polkadot-serializer 0.1.0",
|
"polkadot-serializer 0.1.0",
|
||||||
|
|||||||
Generated
+14
-4
@@ -88,6 +88,16 @@ name = "crunchy"
|
|||||||
version = "0.1.6"
|
version = "0.1.6"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ed25519"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"polkadot-primitives 0.1.0",
|
||||||
|
"ring 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"rustc-hex 2.0.0 (git+https://github.com/rphmeier/rustc-hex.git)",
|
||||||
|
"untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "either"
|
name = "either"
|
||||||
version = "1.4.0"
|
version = "1.4.0"
|
||||||
@@ -151,7 +161,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "fixed-hash"
|
name = "fixed-hash"
|
||||||
version = "0.1.3"
|
version = "0.1.3"
|
||||||
source = "git+https://github.com/rphmeier/primitives.git?branch=compile-for-wasm#853bb53158497914f1837f5186e31e5b29f77cee"
|
source = "git+https://github.com/rphmeier/primitives.git?branch=compile-for-wasm#8dc457899afdaf968ff7f16140b03d1e37b01d71"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -389,16 +399,15 @@ version = "0.1.0"
|
|||||||
name = "polkadot-runtime-std"
|
name = "polkadot-runtime-std"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"ed25519 0.1.0",
|
||||||
"environmental 0.1.0",
|
"environmental 0.1.0",
|
||||||
"polkadot-primitives 0.1.0",
|
"polkadot-primitives 0.1.0",
|
||||||
"polkadot-runtime-codec 0.1.0",
|
"polkadot-runtime-codec 0.1.0",
|
||||||
"polkadot-state-machine 0.1.0",
|
"polkadot-state-machine 0.1.0",
|
||||||
"pwasm-alloc 0.1.0",
|
"pwasm-alloc 0.1.0",
|
||||||
"pwasm-libc 0.1.0",
|
"pwasm-libc 0.1.0",
|
||||||
"ring 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"rustc_version 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc_version 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"triehash 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"triehash 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"untrusted 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -542,6 +551,7 @@ dependencies = [
|
|||||||
name = "runtime-polkadot"
|
name = "runtime-polkadot"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"polkadot-primitives 0.1.0",
|
||||||
"polkadot-runtime-codec 0.1.0",
|
"polkadot-runtime-codec 0.1.0",
|
||||||
"polkadot-runtime-std 0.1.0",
|
"polkadot-runtime-std 0.1.0",
|
||||||
]
|
]
|
||||||
@@ -696,7 +706,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "uint"
|
name = "uint"
|
||||||
version = "0.1.2"
|
version = "0.1.2"
|
||||||
source = "git+https://github.com/rphmeier/primitives.git?branch=compile-for-wasm#853bb53158497914f1837f5186e31e5b29f77cee"
|
source = "git+https://github.com/rphmeier/primitives.git?branch=compile-for-wasm#8dc457899afdaf968ff7f16140b03d1e37b01d71"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-hex 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
xargo +nightly build --target=wasm32-unknown-unknown --release
|
cargo +nightly build --target=wasm32-unknown-unknown --release
|
||||||
dirs=`find * -maxdepth 0 -type d | grep -v pwasm- | grep -v std`
|
dirs=`find * -maxdepth 0 -type d | grep -v pwasm- | grep -v std`
|
||||||
for i in $dirs
|
for i in $dirs
|
||||||
do
|
do
|
||||||
|
|||||||
@@ -9,7 +9,8 @@ crate-type = ["cdylib"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
polkadot-runtime-codec = { path = "../../runtime-codec", version = "0.1", default-features = false }
|
polkadot-runtime-codec = { path = "../../runtime-codec", version = "0.1", default-features = false }
|
||||||
polkadot-runtime-std = { path = "../../runtime-std", version = "0.1", default-features = false }
|
polkadot-runtime-std = { path = "../../runtime-std", version = "0.1", default-features = false }
|
||||||
|
polkadot-primitives = { path = "../../primitives", version = "0.1", default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
std = ["polkadot-runtime-codec/std", "polkadot-runtime-std/std"]
|
std = ["polkadot-runtime-codec/std", "polkadot-runtime-std/std", "polkadot-primitives/std"]
|
||||||
|
|||||||
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user