Skip to content

Commit 217798e

Browse files
authored
Merge pull request #50 from vdice/chore/wasm32-wasip1
chore(*): replace wasm32-wasi target with wasm32-wasip1
2 parents 02d5d63 + 6936748 commit 217798e

File tree

41 files changed

+68
-68
lines changed

Some content is hidden

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

41 files changed

+68
-68
lines changed

.github/workflows/build-examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- "README.md"
1111

1212
env:
13-
RUST_VERSION: "1.73"
13+
RUST_VERSION: "1.78"
1414
SPIN_VERSION: ""
1515

1616
jobs:
@@ -22,7 +22,7 @@ jobs:
2222
uses: dtolnay/rust-toolchain@stable
2323
with:
2424
toolchain: "${{ env.RUST_VERSION }}"
25-
targets: wasm32-wasi
25+
targets: wasm32-wasip1
2626
- name: Install Spin
2727
uses: fermyon/actions/spin/setup@v1
2828
- name: Run build_examples.sh

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- "README.md"
1010

1111
env:
12-
RUST_VERSION: 1.73
12+
RUST_VERSION: 1.78
1313

1414
jobs:
1515
lint-and-test:
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
rustup toolchain install ${{ env.RUST_VERSION }} --component clippy --component rustfmt
2929
rustup default ${{ env.RUST_VERSION }}
30-
rustup target add wasm32-wasi
30+
rustup target add wasm32-wasip1
3131
3232
- name: Lint
3333
shell: bash

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- "v*"
99

1010
env:
11-
RUST_VERSION: 1.73
11+
RUST_VERSION: 1.78
1212

1313
jobs:
1414
crates:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ authors = ["Fermyon Engineering <[email protected]>"]
8686
edition = "2021"
8787
license = "Apache-2.0 WITH LLVM-exception"
8888
repository = "https://github.com/fermyon/spin-rust-sdk"
89-
rust-version = "1.73"
89+
rust-version = "1.78"
9090
homepage = "https://developer.fermyon.com/spin/v2/rust-components"
9191

9292
[workspace.dependencies]

README.md

Lines changed: 3 additions & 3 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build]
2-
target = "wasm32-wasi"
2+
target = "wasm32-wasip1"

examples/hello-world/spin.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ route = "/hello"
1111
component = "hello"
1212

1313
[component.hello]
14-
source = "../../target/wasm32-wasi/release/hello_world.wasm"
14+
source = "../../target/wasm32-wasip1/release/hello_world.wasm"
1515
description = "A simple component that returns hello."
1616
[component.hello.build]
17-
command = "cargo build --target wasm32-wasi --release"
17+
command = "cargo build --target wasm32-wasip1 --release"
1818
watch = ["src/**/*.rs", "Cargo.toml"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build]
2-
target = "wasm32-wasi"
2+
target = "wasm32-wasip1"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build]
2-
target = "wasm32-wasi"
2+
target = "wasm32-wasip1"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build]
2-
target = "wasm32-wasi"
2+
target = "wasm32-wasip1"

0 commit comments

Comments
 (0)