Skip to content

Commit ab5941c

Browse files
committed
change action to use wasm32v1-none
1 parent fb85b21 commit ab5941c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
- run: rustup update
104104
- run: cargo version
105105
- run: rustup target add ${{ matrix.sys.target }}
106-
- run: rustup target add wasm32-unknown-unknown
106+
- run: rustup target add wasm32v1-none
107107
- uses: stellar/binaries@v18
108108
with:
109109
name: cargo-hack
@@ -112,10 +112,10 @@ jobs:
112112
name: Clear test snapshots for checking no diffs exists after test run
113113
run: rm -fr **/test_snapshots
114114
- name: Build for wasm
115-
run: cargo-hack hack build --target wasm32-unknown-unknown --profile release
115+
run: cargo-hack hack build --target wasm32v1-none --profile release --workspace --exclude soroban-spec --exclude soroban-spec-rust --exclude soroban-ledger-snapshot
116116
- name: Wasm Size
117117
run: |
118-
cd target/wasm32-unknown-unknown/release/ && \
118+
cd target/wasm32v1-none/release/ && \
119119
for i in *.wasm ; do \
120120
ls -l "$i"; \
121121
done
@@ -182,7 +182,7 @@ jobs:
182182
matrix:
183183
sys:
184184
- os: ubuntu-latest
185-
target: wasm32-unknown-unknown
185+
target: wasm32v1-none
186186
cargo-hack-feature-options: ''
187187
- os: ubuntu-latest
188188
target: x86_64-unknown-linux-gnu

0 commit comments

Comments
 (0)