From c526fd1623bddd6ee7a01e35e06da18e81776aa0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 17 Apr 2026 10:59:25 -0700 Subject: [PATCH] Bump version numbers of wasip2/wasip3 * Minor bump of wasip2 as wit-bindgen isn't a public dep * Major bump of wasip3 as wit-bindgen is a public dep (e.g. future/stream types) --- crates/wasip2/Cargo.toml | 2 +- crates/wasip2/src/command.rs | 8 ++++---- crates/wasip2/src/imports.rs | 6 +++--- crates/wasip2/src/proxy.rs | 8 ++++---- crates/wasip3/Cargo.toml | 2 +- crates/wasip3/src/command.rs | 8 ++++---- crates/wasip3/src/imports.rs | 6 +++--- crates/wasip3/src/service.rs | 8 ++++---- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/crates/wasip2/Cargo.toml b/crates/wasip2/Cargo.toml index 79c09cc..c6518de 100644 --- a/crates/wasip2/Cargo.toml +++ b/crates/wasip2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasip2" -version = "1.0.2+wasi-0.2.9" +version = "1.0.3+wasi-0.2.9" description = "WASIp2 API bindings for Rust" categories = ["no-std", "wasm"] keywords = ["webassembly", "wasm"] diff --git a/crates/wasip2/src/command.rs b/crates/wasip2/src/command.rs index 8466241..5a0771c 100644 --- a/crates/wasip2/src/command.rs +++ b/crates/wasip2/src/command.rs @@ -28,7 +28,7 @@ // * with "wasi:sockets/udp@0.2.9" = "crate::sockets::udp" // * with "wasi:sockets/udp-create-socket@0.2.9" = "crate::sockets::udp_create_socket" // * with "wasi:sockets/ip-name-lookup@0.2.9" = "crate::sockets::ip_name_lookup" -// * type_section_suffix: "rust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-command-world" +// * type_section_suffix: "rust-wasip2-1.0.3+wasi-0.2.9-from-crates-io-command-world" // * default-bindings-module: "$crate" // * export-macro-name: _export_command // * pub-export-macro @@ -167,7 +167,7 @@ macro_rules! __export_command_impl { exports::wasi::cli::run::__export_wasi_cli_run_0_2_9_cabi!($ty with_types_in $($path_to_types_root)*:: exports::wasi::cli::run); const _ : () = { #[rustfmt::skip] #[cfg(target_arch = "wasm32")] #[unsafe (link_section = - "component-type:wit-bindgen:0.57.1:wasi:cli@0.2.9:command:imports and exportsrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-command-world")] + "component-type:wit-bindgen:0.57.1:wasi:cli@0.2.9:command:imports and exportsrust-wasip2-1.0.3+wasi-0.2.9-from-crates-io-command-world")] #[doc(hidden)] #[allow(clippy::octal_escapes)] pub static __WIT_BINDGEN_COMPONENT_TYPE : [u8; 10773] = * b"\ @@ -397,8 +397,8 @@ pub use __export_command_impl as _export_command; #[rustfmt::skip] #[cfg(target_arch = "wasm32")] -#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.2.9:command-with-all-of-its-exports-removed:encoded worldrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-command-world-in-libstd"))] -#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.2.9:command-with-all-of-its-exports-removed:encoded worldrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-command-world"))] +#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.2.9:command-with-all-of-its-exports-removed:encoded worldrust-wasip2-1.0.3+wasi-0.2.9-from-crates-io-command-world-in-libstd"))] +#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.2.9:command-with-all-of-its-exports-removed:encoded worldrust-wasip2-1.0.3+wasi-0.2.9-from-crates-io-command-world"))] #[doc(hidden)] #[allow(clippy::octal_escapes)] diff --git a/crates/wasip2/src/imports.rs b/crates/wasip2/src/imports.rs index e9ed134..43ed819 100644 --- a/crates/wasip2/src/imports.rs +++ b/crates/wasip2/src/imports.rs @@ -1,7 +1,7 @@ // Generated by `wit-bindgen` 0.57.1. DO NOT EDIT! // Options used: // * std_feature -// * type_section_suffix: "rust-wasip2-1.0.2+wasi-0.2.9-from-crates-io" +// * type_section_suffix: "rust-wasip2-1.0.3+wasi-0.2.9-from-crates-io" #[rustfmt::skip] #[allow(dead_code, clippy::all)] pub mod wasi { @@ -9997,8 +9997,8 @@ mod _rt { #[rustfmt::skip] #[cfg(target_arch = "wasm32")] -#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.2.9:imports:encoded worldrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-in-libstd"))] -#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.2.9:imports:encoded worldrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io"))] +#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.2.9:imports:encoded worldrust-wasip2-1.0.3+wasi-0.2.9-from-crates-io-in-libstd"))] +#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.2.9:imports:encoded worldrust-wasip2-1.0.3+wasi-0.2.9-from-crates-io"))] #[doc(hidden)] #[allow(clippy::octal_escapes)] diff --git a/crates/wasip2/src/proxy.rs b/crates/wasip2/src/proxy.rs index 750cc83..da58f2a 100644 --- a/crates/wasip2/src/proxy.rs +++ b/crates/wasip2/src/proxy.rs @@ -10,7 +10,7 @@ // * with "wasi:io/poll@0.2.9" = "crate::io::poll" // * with "wasi:io/streams@0.2.9" = "crate::io::streams" // * with "wasi:random/random@0.2.9" = "crate::random::random" -// * type_section_suffix: "rust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-proxy-world" +// * type_section_suffix: "rust-wasip2-1.0.3+wasi-0.2.9-from-crates-io-proxy-world" // * default-bindings-module: "$crate" // * export-macro-name: _export_proxy // * pub-export-macro @@ -7147,7 +7147,7 @@ macro_rules! __export_proxy_impl { with_types_in $($path_to_types_root)*:: exports::wasi::http::incoming_handler); const _ : () = { #[rustfmt::skip] #[cfg(target_arch = "wasm32")] #[unsafe (link_section = - "component-type:wit-bindgen:0.57.1:wasi:http@0.2.9:proxy:imports and exportsrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-proxy-world")] + "component-type:wit-bindgen:0.57.1:wasi:http@0.2.9:proxy:imports and exportsrust-wasip2-1.0.3+wasi-0.2.9-from-crates-io-proxy-world")] #[doc(hidden)] #[allow(clippy::octal_escapes)] pub static __WIT_BINDGEN_COMPONENT_TYPE : [u8; 7040] = * b"\ @@ -7300,8 +7300,8 @@ pub use __export_proxy_impl as _export_proxy; #[rustfmt::skip] #[cfg(target_arch = "wasm32")] -#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:http@0.2.9:proxy-with-all-of-its-exports-removed:encoded worldrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-proxy-world-in-libstd"))] -#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:http@0.2.9:proxy-with-all-of-its-exports-removed:encoded worldrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-proxy-world"))] +#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:http@0.2.9:proxy-with-all-of-its-exports-removed:encoded worldrust-wasip2-1.0.3+wasi-0.2.9-from-crates-io-proxy-world-in-libstd"))] +#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:http@0.2.9:proxy-with-all-of-its-exports-removed:encoded worldrust-wasip2-1.0.3+wasi-0.2.9-from-crates-io-proxy-world"))] #[doc(hidden)] #[allow(clippy::octal_escapes)] diff --git a/crates/wasip3/Cargo.toml b/crates/wasip3/Cargo.toml index fb09f85..1da4374 100644 --- a/crates/wasip3/Cargo.toml +++ b/crates/wasip3/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasip3" -version = "0.5.0+wasi-0.3.0-rc-2026-03-15" +version = "0.6.0+wasi-0.3.0-rc-2026-03-15" description = "WASIp3 API bindings for Rust" categories = ["no-std", "wasm"] keywords = ["webassembly", "wasm"] diff --git a/crates/wasip3/src/command.rs b/crates/wasip3/src/command.rs index b6838d0..f64b71b 100644 --- a/crates/wasip3/src/command.rs +++ b/crates/wasip3/src/command.rs @@ -22,7 +22,7 @@ // * with "wasi:random/insecure-seed@0.3.0-rc-2026-03-15" = "crate::random::insecure_seed" // * with "wasi:sockets/types@0.3.0-rc-2026-03-15" = "crate::sockets::types" // * with "wasi:sockets/ip-name-lookup@0.3.0-rc-2026-03-15" = "crate::sockets::ip_name_lookup" -// * type_section_suffix: "rust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-command-world" +// * type_section_suffix: "rust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-command-world" // * default-bindings-module: "$crate" // * export-macro-name: _export_command // * pub-export-macro @@ -180,7 +180,7 @@ macro_rules! __export_command_impl { exports::wasi::cli::run::__export_wasi_cli_run_0_3_0_rc_2026_03_15_cabi!($ty with_types_in $($path_to_types_root)*:: exports::wasi::cli::run); const _ : () = { #[rustfmt::skip] #[cfg(target_arch = "wasm32")] #[unsafe (link_section = - "component-type:wit-bindgen:0.57.1:wasi:cli@0.3.0-rc-2026-03-15:command:imports and exportsrust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-command-world")] + "component-type:wit-bindgen:0.57.1:wasi:cli@0.3.0-rc-2026-03-15:command:imports and exportsrust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-command-world")] #[doc(hidden)] #[allow(clippy::octal_escapes)] pub static __WIT_BINDGEN_COMPONENT_TYPE : [u8; 8219] = * b"\ @@ -352,8 +352,8 @@ pub use __export_command_impl as _export_command; #[rustfmt::skip] #[cfg(target_arch = "wasm32")] -#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.3.0-rc-2026-03-15:command-with-all-of-its-exports-removed:encoded worldrust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-command-world-in-libstd"))] -#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.3.0-rc-2026-03-15:command-with-all-of-its-exports-removed:encoded worldrust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-command-world"))] +#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.3.0-rc-2026-03-15:command-with-all-of-its-exports-removed:encoded worldrust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-command-world-in-libstd"))] +#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.3.0-rc-2026-03-15:command-with-all-of-its-exports-removed:encoded worldrust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-command-world"))] #[doc(hidden)] #[allow(clippy::octal_escapes)] diff --git a/crates/wasip3/src/imports.rs b/crates/wasip3/src/imports.rs index 8739372..7357d0c 100644 --- a/crates/wasip3/src/imports.rs +++ b/crates/wasip3/src/imports.rs @@ -1,7 +1,7 @@ // Generated by `wit-bindgen` 0.57.1. DO NOT EDIT! // Options used: // * std_feature -// * type_section_suffix: "rust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io" +// * type_section_suffix: "rust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io" #[rustfmt::skip] #[allow(dead_code, clippy::all)] pub mod wasi { @@ -14411,8 +14411,8 @@ pub mod wit_stream { #[rustfmt::skip] #[cfg(target_arch = "wasm32")] -#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.3.0-rc-2026-03-15:imports:encoded worldrust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-in-libstd"))] -#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.3.0-rc-2026-03-15:imports:encoded worldrust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io"))] +#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.3.0-rc-2026-03-15:imports:encoded worldrust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-in-libstd"))] +#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:cli@0.3.0-rc-2026-03-15:imports:encoded worldrust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io"))] #[doc(hidden)] #[allow(clippy::octal_escapes)] diff --git a/crates/wasip3/src/service.rs b/crates/wasip3/src/service.rs index 00412e4..be071ed 100644 --- a/crates/wasip3/src/service.rs +++ b/crates/wasip3/src/service.rs @@ -11,7 +11,7 @@ // * with "wasi:random/random@0.3.0-rc-2026-03-15" = "crate::random::random" // * with "wasi:random/insecure@0.3.0-rc-2026-03-15" = "crate::random::insecure" // * with "wasi:random/insecure-seed@0.3.0-rc-2026-03-15" = "crate::random::insecure_seed" -// * type_section_suffix: "rust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-service-world" +// * type_section_suffix: "rust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-service-world" // * default-bindings-module: "$crate" // * export-macro-name: _export_service // * pub-export-macro @@ -7407,7 +7407,7 @@ macro_rules! __export_service_impl { exports::wasi::http::handler::__export_wasi_http_handler_0_3_0_rc_2026_03_15_cabi!($ty with_types_in $($path_to_types_root)*:: exports::wasi::http::handler); const _ : () = { #[rustfmt::skip] #[cfg(target_arch = "wasm32")] #[unsafe (link_section = - "component-type:wit-bindgen:0.57.1:wasi:http@0.3.0-rc-2026-03-15:service:imports and exportsrust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-service-world")] + "component-type:wit-bindgen:0.57.1:wasi:http@0.3.0-rc-2026-03-15:service:imports and exportsrust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-service-world")] #[doc(hidden)] #[allow(clippy::octal_escapes)] pub static __WIT_BINDGEN_COMPONENT_TYPE : [u8; 5191] = * b"\ @@ -7522,8 +7522,8 @@ pub use __export_service_impl as _export_service; #[rustfmt::skip] #[cfg(target_arch = "wasm32")] -#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:http@0.3.0-rc-2026-03-15:service-with-all-of-its-exports-removed:encoded worldrust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-service-world-in-libstd"))] -#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:http@0.3.0-rc-2026-03-15:service-with-all-of-its-exports-removed:encoded worldrust-wasip3-0.5.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-service-world"))] +#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:http@0.3.0-rc-2026-03-15:service-with-all-of-its-exports-removed:encoded worldrust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-service-world-in-libstd"))] +#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.57.1:wasi:http@0.3.0-rc-2026-03-15:service-with-all-of-its-exports-removed:encoded worldrust-wasip3-0.6.0+wasi-0.3.0-rc-2026-03-15-from-crates-io-service-world"))] #[doc(hidden)] #[allow(clippy::octal_escapes)]