Skip to content

Commit

Permalink
Bump WASI version to 0.2.3 (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
iawia002 authored Dec 18, 2024
1 parent 543cb4c commit e3328ef
Show file tree
Hide file tree
Showing 33 changed files with 457 additions and 457 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
- name: Install Wasmtime
uses: bytecodealliance/actions/wasmtime/setup@v1
with:
version: "v25.0.1"
version: "v27.0.0"
- name: Install wasm-tools
uses: bytecodealliance/actions/wasm-tools/setup@v1
with:
version: "1.218.0"
- run: curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v25.0.1/wasi_snapshot_preview1.command.wasm
version: "1.219.1"
- run: curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v27.0.0/wasi_snapshot_preview1.command.wasm

- run: cargo build --examples --target wasm32-wasip1 --no-default-features

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasi"
version = "0.13.3+wasi-0.2.2"
version = "0.13.4+wasi-0.2.3"
authors = ["The Cranelift Project Developers"]
description = "WASI API bindings for Rust"
categories = ["no-std", "wasm"]
Expand Down
76 changes: 38 additions & 38 deletions ci/regenerate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,33 @@ generate src/bindings.rs --type-section-suffix rust-wasi-from-crates-io \
# macro `export_command`.
#
# Note that `--with` is used to point at the previously generated bindings.
with="wasi:cli/[email protected].2=crate::cli::environment"
with="$with,wasi:cli/[email protected].2=crate::cli::exit"
with="$with,wasi:cli/[email protected].2=crate::cli::stdin"
with="$with,wasi:cli/[email protected].2=crate::cli::stdout"
with="$with,wasi:cli/[email protected].2=crate::cli::stderr"
with="$with,wasi:cli/[email protected].2=crate::cli::terminal_input"
with="$with,wasi:cli/[email protected].2=crate::cli::terminal_output"
with="$with,wasi:cli/[email protected].2=crate::cli::terminal_stdin"
with="$with,wasi:cli/[email protected].2=crate::cli::terminal_stdout"
with="$with,wasi:cli/[email protected].2=crate::cli::terminal_stderr"
with="$with,wasi:clocks/[email protected].2=crate::clocks::monotonic_clock"
with="$with,wasi:clocks/[email protected].2=crate::clocks::wall_clock"
with="$with,wasi:filesystem/[email protected].2=crate::filesystem::types"
with="$with,wasi:filesystem/[email protected].2=crate::filesystem::preopens"
with="$with,wasi:io/[email protected].2=crate::io::error"
with="$with,wasi:io/[email protected].2=crate::io::poll"
with="$with,wasi:io/[email protected].2=crate::io::streams"
with="$with,wasi:random/[email protected].2=crate::random::random"
with="$with,wasi:random/[email protected].2=crate::random::insecure"
with="$with,wasi:random/[email protected].2=crate::random::insecure_seed"
with="$with,wasi:sockets/[email protected].2=crate::sockets::network"
with="$with,wasi:sockets/[email protected].2=crate::sockets::instance_network"
with="$with,wasi:sockets/[email protected].2=crate::sockets::tcp"
with="$with,wasi:sockets/[email protected].2=crate::sockets::tcp_create_socket"
with="$with,wasi:sockets/[email protected].2=crate::sockets::udp"
with="$with,wasi:sockets/[email protected].2=crate::sockets::udp_create_socket"
with="$with,wasi:sockets/[email protected].2=crate::sockets::ip_name_lookup"
with="wasi:cli/[email protected].3=crate::cli::environment"
with="$with,wasi:cli/[email protected].3=crate::cli::exit"
with="$with,wasi:cli/[email protected].3=crate::cli::stdin"
with="$with,wasi:cli/[email protected].3=crate::cli::stdout"
with="$with,wasi:cli/[email protected].3=crate::cli::stderr"
with="$with,wasi:cli/[email protected].3=crate::cli::terminal_input"
with="$with,wasi:cli/[email protected].3=crate::cli::terminal_output"
with="$with,wasi:cli/[email protected].3=crate::cli::terminal_stdin"
with="$with,wasi:cli/[email protected].3=crate::cli::terminal_stdout"
with="$with,wasi:cli/[email protected].3=crate::cli::terminal_stderr"
with="$with,wasi:clocks/[email protected].3=crate::clocks::monotonic_clock"
with="$with,wasi:clocks/[email protected].3=crate::clocks::wall_clock"
with="$with,wasi:filesystem/[email protected].3=crate::filesystem::types"
with="$with,wasi:filesystem/[email protected].3=crate::filesystem::preopens"
with="$with,wasi:io/[email protected].3=crate::io::error"
with="$with,wasi:io/[email protected].3=crate::io::poll"
with="$with,wasi:io/[email protected].3=crate::io::streams"
with="$with,wasi:random/[email protected].3=crate::random::random"
with="$with,wasi:random/[email protected].3=crate::random::insecure"
with="$with,wasi:random/[email protected].3=crate::random::insecure_seed"
with="$with,wasi:sockets/[email protected].3=crate::sockets::network"
with="$with,wasi:sockets/[email protected].3=crate::sockets::instance_network"
with="$with,wasi:sockets/[email protected].3=crate::sockets::tcp"
with="$with,wasi:sockets/[email protected].3=crate::sockets::tcp_create_socket"
with="$with,wasi:sockets/[email protected].3=crate::sockets::udp"
with="$with,wasi:sockets/[email protected].3=crate::sockets::udp_create_socket"
with="$with,wasi:sockets/[email protected].3=crate::sockets::ip_name_lookup"
generate src/command.rs \
--world wasi:cli/command \
--with "$with" \
Expand All @@ -54,17 +54,17 @@ generate src/command.rs \
--export-macro-name _export_command

# Same as the `command` world, but for the proxy world.
with="wasi:cli/[email protected].2=crate::cli::stdin"
with="$with,wasi:cli/[email protected].2=crate::cli::stdout"
with="$with,wasi:cli/[email protected].2=crate::cli::stderr"
with="$with,wasi:clocks/[email protected].2=crate::clocks::monotonic_clock"
with="$with,wasi:clocks/[email protected].2=crate::clocks::wall_clock"
with="$with,wasi:io/[email protected].2=crate::io::error"
with="$with,wasi:io/[email protected].2=crate::io::poll"
with="$with,wasi:io/[email protected].2=crate::io::streams"
with="$with,wasi:random/[email protected].2=crate::random::random"
with="$with,wasi:http/[email protected].2=crate::http::types"
with="$with,wasi:http/[email protected].2=crate::http::outgoing_handler"
with="wasi:cli/[email protected].3=crate::cli::stdin"
with="$with,wasi:cli/[email protected].3=crate::cli::stdout"
with="$with,wasi:cli/[email protected].3=crate::cli::stderr"
with="$with,wasi:clocks/[email protected].3=crate::clocks::monotonic_clock"
with="$with,wasi:clocks/[email protected].3=crate::clocks::wall_clock"
with="$with,wasi:io/[email protected].3=crate::io::error"
with="$with,wasi:io/[email protected].3=crate::io::poll"
with="$with,wasi:io/[email protected].3=crate::io::streams"
with="$with,wasi:random/[email protected].3=crate::random::random"
with="$with,wasi:http/[email protected].3=crate::http::types"
with="$with,wasi:http/[email protected].3=crate::http::outgoing_handler"
generate src/proxy.rs \
--world wasi:http/proxy \
--with "$with" \
Expand Down
2 changes: 1 addition & 1 deletion ci/vendor-wit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set -ex
# and every repository has a tag `v$tag` here. That is currently done as part
# of the WASI release process.
repos="cli clocks filesystem http io random sockets"
tag=0.2.2
tag=0.2.3
dst=wit/deps

rm -rf $dst
Expand Down
Loading

0 comments on commit e3328ef

Please sign in to comment.