mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Add the code for compiling node-cli for WASM-browser (#3974)
* Extract CLI to separate module in node/cli * Make node/cli compile for WASM * More work on node/cli browser * More work on browser node * More work * More work * Purge a bit the CI script * More clean up * Remove substrate-finality-grandpa from the CI Its tests use tokio, which fails to compile. * Address review * Add rocksdb feature to the service * Fix substrate-service WASM CI * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Don't WASM-compile substrate-service altogether
This commit is contained in:
committed by
Gavin Wood
parent
c0a1926704
commit
4264613a96
@@ -202,25 +202,13 @@ check-web-wasm:
|
||||
- time cargo web build -p sr-io
|
||||
- time cargo web build -p sr-primitives
|
||||
- time cargo web build -p sr-std
|
||||
- time cargo web build -p substrate-chain-spec
|
||||
- time cargo web build -p substrate-client
|
||||
- time cargo web build -p substrate-consensus-aura
|
||||
- time cargo web build -p substrate-consensus-babe
|
||||
- time cargo web build -p substrate-consensus-common
|
||||
- time cargo web build -p substrate-keyring
|
||||
- time cargo web build -p substrate-keystore
|
||||
- time cargo web build -p substrate-executor
|
||||
- time cargo web build -p substrate-network
|
||||
- time cargo web build -p substrate-offchain
|
||||
- time cargo web build -p substrate-panic-handler
|
||||
- time cargo web build -p substrate-peerset
|
||||
- time cargo web build -p substrate-primitives
|
||||
- time cargo web build -p substrate-rpc-servers
|
||||
- time cargo web build -p substrate-serializer
|
||||
- time cargo web build -p substrate-state-db
|
||||
- time cargo web build -p substrate-state-machine
|
||||
- time cargo web build -p substrate-telemetry
|
||||
- time cargo web build -p substrate-trie
|
||||
# Note: the command below is a bit weird because several Cargo issues prevent us from compiling the node in a more straight-forward way.
|
||||
- time cargo build --manifest-path=node/cli/Cargo.toml --no-default-features --features "browser" --target=wasm32-unknown-unknown
|
||||
- sccache -s
|
||||
|
||||
node-exits:
|
||||
|
||||
Reference in New Issue
Block a user