Skip to content

Commit 5108b8e

Browse files
committed
add wasm32-wasip1 target to rust setup
1 parent 0288c4e commit 5108b8e

File tree

6 files changed

+17
-9
lines changed

6 files changed

+17
-9
lines changed

.github/workflows/cloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
# override: true # this is by default on
7676
rustflags: ""
7777
components: rustfmt
78-
target: ${{ matrix.target }}
78+
target: ${{ matrix.target }} wasm32-wasip1
7979
- name: Install Node.js ${{ matrix.node-version }}
8080
uses: actions/setup-node@v4
8181
with:

.github/workflows/drivers-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
# override: true # this is by default on
109109
rustflags: ""
110110
components: rustfmt
111-
target: ${{ matrix.target }}
111+
target: ${{ matrix.target }} wasm32-wasip1
112112
- name: Install Node.js ${{ matrix.node-version }}
113113
uses: actions/setup-node@v4
114114
with:

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
# override: true # this is by default on
6060
rustflags: ""
6161
components: rustfmt
62-
target: x86_64-unknown-linux-gnu
62+
target: x86_64-unknown-linux-gnu wasm32-wasip1
6363
cache: false
6464
- uses: Swatinem/rust-cache@v2
6565
with:

.github/workflows/post-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# override: true # this is by default on
3737
rustflags: ""
3838
components: rustfmt
39-
target: x86_64-unknown-linux-gnu
39+
target: x86_64-unknown-linux-gnu wasm32-wasip1
4040
cache: false
4141
- name: Install Node.js ${{ matrix.node-version }}
4242
uses: actions/setup-node@v4

.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
# override: true # this is by default on
2727
rustflags: ""
2828
components: rustfmt
29+
target: wasm32-wasip1
2930
- name: Install Node.js 20.x
3031
uses: actions/setup-node@v4
3132
with:
@@ -99,7 +100,7 @@ jobs:
99100
# override: true # this is by default on
100101
rustflags: ""
101102
components: rustfmt
102-
target: ${{ matrix.target }}
103+
target: ${{ matrix.target }} wasm32-wasip1
103104
- name: Install Node.js ${{ matrix.node-version }}
104105
uses: actions/setup-node@v4
105106
with:
@@ -189,7 +190,7 @@ jobs:
189190
# override: true # this is by default on
190191
rustflags: ""
191192
components: rustfmt
192-
target: ${{ matrix.target }}
193+
target: ${{ matrix.target }} wasm32-wasip1
193194
- name: Install Python
194195
uses: actions/setup-python@v5
195196
if: (matrix.python-version != 'fallback')
@@ -264,6 +265,7 @@ jobs:
264265
# override: true # this is by default on
265266
rustflags: ""
266267
components: rustfmt
268+
target: wasm32-wasip1
267269
- name: Install Python
268270
uses: actions/setup-python@v5
269271
if: (matrix.python-version != 'fallback')
@@ -618,7 +620,7 @@ jobs:
618620
uses: actions-rust-lang/setup-rust-toolchain@v1
619621
with:
620622
toolchain: nightly-2024-01-29
621-
target: ${{ matrix.target }}
623+
target: ${{ matrix.target }} wasm32-wasip1
622624
# override: true # this is by default on
623625
rustflags: ""
624626
components: rustfmt
@@ -705,7 +707,7 @@ jobs:
705707
uses: actions-rust-lang/setup-rust-toolchain@v1
706708
with:
707709
toolchain: nightly-2024-01-29
708-
target: ${{ matrix.target }}
710+
target: ${{ matrix.target }} wasm32-wasip1
709711
# override: true # this is by default on
710712
rustflags: ""
711713
components: rustfmt

.github/workflows/push.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
# override: true # this is by default on
8585
rustflags: ""
8686
components: rustfmt
87+
target: wasm32-wasip1
8788
- name: Install Node.js ${{ matrix.node-version }}
8889
uses: actions/setup-node@v4
8990
with:
@@ -178,6 +179,7 @@ jobs:
178179
# override: true # this is by default on
179180
rustflags: ""
180181
components: rustfmt
182+
target: wasm32-wasip1
181183
- name: Install Node.js 20.x
182184
uses: actions/setup-node@v4
183185
with:
@@ -253,6 +255,7 @@ jobs:
253255
# override: true # this is by default on
254256
rustflags: ""
255257
components: rustfmt
258+
target: wasm32-wasip1
256259
- name: Install Node.js 20.x
257260
uses: actions/setup-node@v4
258261
with:
@@ -321,6 +324,7 @@ jobs:
321324
# override: true # this is by default on
322325
rustflags: ""
323326
components: rustfmt
327+
target: wasm32-wasip1
324328
- uses: Swatinem/rust-cache@v2
325329
with:
326330
workspaces: ./rust/cubestore -> target
@@ -375,6 +379,7 @@ jobs:
375379
# override: true # this is by default on
376380
rustflags: ""
377381
components: rustfmt
382+
target: wasm32-wasip1
378383
- name: Install Node.js ${{ matrix.node-version }}
379384
uses: actions/setup-node@v4
380385
with:
@@ -452,6 +457,7 @@ jobs:
452457
# override: true # this is by default on
453458
rustflags: ""
454459
components: rustfmt
460+
target: wasm32-wasip1
455461
- name: Install Node.js ${{ matrix.node-version }}
456462
uses: actions/setup-node@v4
457463
with:
@@ -684,7 +690,7 @@ jobs:
684690
# override: true # this is by default on
685691
rustflags: ""
686692
components: rustfmt
687-
target: ${{ matrix.target }}
693+
target: ${{ matrix.target }} wasm32-wasip1
688694
- name: Install Node.js ${{ matrix.node-version }}
689695
uses: actions/setup-node@v4
690696
with:

0 commit comments

Comments
 (0)