Skip to content

Commit 502a334

Browse files
ramfox“ramfox”rklaehn
authored
chore: convert examples to use iroh, iroh-blobs, iroh-gossip and iroh-docs @0.90 (#118)
* feat: update to iroh 0.35 * convert `frosty` and `extism` examples to use `[email protected]` * Update iroh in dumbpipe-web * clippy * clippy frosty * Update iroh-gateway * iroh-gateway clippy * Fix compile errors * Update iroh-automerge * chore: upgrade `browser-chat` to use latest iroh * fix sccache / mozilla actions CI error * `cargo` command only look for the `config.toml` in the directory it is run in. * fix workflow * fmt * clippy * using `--all-features` flag in `wasm-opt` * address vite failure in `deploy` --------- Co-authored-by: “ramfox” <“[email protected]”> Co-authored-by: Ruediger Klaehn <[email protected]>
1 parent ef41d0e commit 502a334

File tree

43 files changed

+4208
-6852
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+4208
-6852
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: rustup target add wasm32-unknown-unknown
5353

5454
- name: Run sccache-cache
55-
uses: mozilla-actions/[email protected].4
55+
uses: mozilla-actions/[email protected].9
5656

5757
- name: check
5858
run: |
@@ -69,7 +69,13 @@ jobs:
6969
for i in ${WASM_EXAMPLES_LIST//,/ }
7070
do
7171
echo "Checking wasm $i"
72-
cargo build --manifest-path $i/Cargo.toml --target wasm32-unknown-unknown
72+
cd $i
73+
# the rust flag should get picked up from the `config.toml` file
74+
# but cargo build seems to not be picking it up
75+
# this dependency exists for both `browser-chat` and `browser-echo`
76+
# so I'm adding the flag to the command
77+
RUSTFLAGS='--cfg getrandom_backend="wasm_js"' cargo build --target wasm32-unknown-unknown
78+
cd ..
7379
done
7480
env:
7581
RUST_LOG: ${{ runner.debug && 'DEBUG' || 'INFO'}}

0 commit comments

Comments
 (0)