Skip to content

Commit 42c30c1

Browse files
author
Frank Lyaruu
authored
move to wasip2, and simplify build (#8)
* move to p2 * move to stable
1 parent c8f11df commit 42c30c1

File tree

7 files changed

+274
-43
lines changed

7 files changed

+274
-43
lines changed

.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[build]
2+
target = "wasm32-wasip2"
3+
4+

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions-rust-lang/setup-rust-toolchain@v1
1515
with:
16-
targets: wasm32-wasip1 # WebAssembly target
16+
targets: wasm32-wasip2 # WebAssembly target
1717
components: rustfmt
1818
- run: cargo check
1919
fmt:

Cargo.lock

Lines changed: 262 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ base64 = "0.22.1"
1212
chrono = { version = "0.4.38", features = ["serde"] }
1313
serde = { version = "1.0.204", features = ["derive"] }
1414
serde_json = "1.0.120"
15-
url = "2.5.2"
15+
url = "2.5.3"
1616
wit-bindgen = "0.34.0"

0 commit comments

Comments
 (0)