Skip to content

Commit 87f28be

Browse files
authored
Hosted counter example (#38)
* Create `hosted-counter` example * Use `linera-protocol` with faucet client crate * Request application * Bump `linera-protocol` * `examples/hosted-counter`: tweak styling * Cleanup * Bump `linera-protocol` This allows us to remove the logic around requesting applications, since linera-io/linera-protocol#3382 makes this transparent. * `examples/hosted-counter`: externalize `@linera/client` * `hosted-counter`: port to mininet * `hosted-counter`: make more mobile-friendly * `examples/hosted-counter`: mobile improvements * `linera-protocol`: avoid deadlocking when reaping tasks * `examples`: abstract out stylesheet * `client`: improve error reporting * Clippy clean the client library * Fix extension build * Address review comments
1 parent ab0cddf commit 87f28be

File tree

27 files changed

+763
-111
lines changed

27 files changed

+763
-111
lines changed

client/.cargo/config.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
[target.wasm32-unknown-unknown]
2-
rustflags = ["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals"]
2+
rustflags = [
3+
# support threading
4+
"-C", "target-feature=+atomics,+bulk-memory,+mutable-globals",
5+
# allow linking C code (for `rust_secp256k1`)
6+
"--cfg=web_sys_unstable_apis",
7+
"-Z", "wasm_c_abi=spec",
8+
]
39

410
[unstable]
511
build-std = ["panic_abort", "std"]

0 commit comments

Comments
 (0)