Skip to content

Commit 8f72f15

Browse files
committed
fix: opcode error for projects targeting wasi
opcode error is fixed by wasmCloud/wascap#39 But that fix must be rolled out with wasmCloud host v0.60 that is in rc. The templates do not use wasi and this version of wasi is in preview state and should be intentionally opted into.
1 parent 1651903 commit 8f72f15

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

hello-world/rust/.cargo/config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build]
2-
target = "wasm32-wasi"
2+
target = "wasm32-unknown-unknown"

hello-world/rust/build/hello.wasm

-26.3 KB
Binary file not shown.

hello-world/rust/wasmcloud.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ type = "actor"
44
version = "0.1.0"
55

66
[actor]
7-
wasm_target = "wasm32-wasi"
7+
wasm_target = "wasm32-unknown-unknown"
88
claims = ["wasmcloud:httpserver"]

kvcounter/rust/.cargo/config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build]
2-
target = "wasm32-wasi"
2+
target = "wasm32-unknown-unknown"

kvcounter/rust/build/kvcounter.wasm

-26.1 KB
Binary file not shown.

kvcounter/rust/wasmcloud.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ type = "actor"
44
version = "0.1.0"
55

66
[actor]
7-
wasm_target = "wasm32-wasi"
7+
wasm_target = "wasm32-unknown-unknown"
88
claims = ["wasmcloud:httpserver", "wasmcloud:keyvalue"]

0 commit comments

Comments
 (0)