Skip to content

Commit d317994

Browse files
committed
Update to 0.3.0-rc-2026-03-15
Signed-off-by: Brian Hardock <brian.hardock@fermyon.com>
1 parent 26a820c commit d317994

File tree

16 files changed

+7072
-2100
lines changed

16 files changed

+7072
-2100
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ rust-version = "1.87.0"
2121
[workspace.dependencies]
2222
rand = { version = "0.8.5", default-features = false }
2323
wasi = { version = "0.14.6", path = ".", default-features = false }
24-
wit-bindgen = { version = "0.51.0", default-features = false }
24+
wit-bindgen = { version = "0.54.0", default-features = false }
2525
wasip1 = { version = "1.0.0", path = "crates/wasip1", default-features = false }
2626
wasip2 = { version = "1.0.1", path = "crates/wasip2", default-features = false }
2727
wasip3 = { version = "0.1.1", path = "crates/wasip3", default-features = false }

ci/regenerate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generate_p2 crates/wasip2/src/imports.rs \
3737
--world wasi:cli/imports
3838

3939
p2=0.2.9
40-
p3=0.3.0-rc-2026-02-09
40+
p3=0.3.0-rc-2026-03-15
4141

4242
# Generate bindings for the `wasi:cli/command` world specifically, namely the
4343
# macro `export_command`.

ci/vendor-wit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ wkg get --overwrite --format wit "wasi:sockets@${p2}" -o crates/wasip2/wit/deps/
2222
rm -rf crates/wasip3/wit/deps
2323
mkdir -p crates/wasip3/wit/deps
2424

25-
p3=0.3.0-rc-2026-02-09
25+
p3=0.3.0-rc-2026-03-15
2626
wkg get --overwrite --format wit "wasi:cli@${p3}" -o crates/wasip3/wit/deps/cli.wit
2727
wkg get --overwrite --format wit "wasi:clocks@${p3}" -o crates/wasip3/wit/deps/clocks.wit
2828
wkg get --overwrite --format wit "wasi:filesystem@${p3}" -o crates/wasip3/wit/deps/filesystem.wit

crates/wasip2/src/command.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by `wit-bindgen` 0.53.0. DO NOT EDIT!
1+
// Generated by `wit-bindgen` 0.54.0. DO NOT EDIT!
22
// Options used:
33
// * std_feature
44
// * with "wasi:cli/environment@0.2.9" = "crate::cli::environment"
@@ -99,10 +99,10 @@ pub mod exports {
9999
use super::super::super::super::_rt;
100100
#[doc(hidden)]
101101
#[allow(non_snake_case, unused_unsafe)]
102-
pub unsafe fn _export_run_cabi<T: Guest>() -> i32 {
102+
pub unsafe fn _export_run_cabi<T_: Guest>() -> i32 {
103103
unsafe {
104104
#[cfg(target_arch = "wasm32")] _rt::run_ctors_once();
105-
let result0 = { T::run() };
105+
let result0 = { T_::run() };
106106
let result1 = match result0 {
107107
Ok(_) => 0i32,
108108
Err(_) => 1i32,
@@ -167,7 +167,7 @@ macro_rules! __export_command_impl {
167167
exports::wasi::cli::run::__export_wasi_cli_run_0_2_9_cabi!($ty with_types_in
168168
$($path_to_types_root)*:: exports::wasi::cli::run); const _ : () = {
169169
#[rustfmt::skip] #[cfg(target_arch = "wasm32")] #[unsafe (link_section =
170-
"component-type:wit-bindgen:0.53.0:wasi:cli@0.2.9:command:imports and exportsrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-command-world")]
170+
"component-type:wit-bindgen:0.54.0:wasi:cli@0.2.9:command:imports and exportsrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-command-world")]
171171
#[doc(hidden)] #[allow(clippy::octal_escapes)] pub static
172172
__WIT_BINDGEN_COMPONENT_TYPE : [u8; 10773] = *
173173
b"\
@@ -387,8 +387,8 @@ nsecure-random-u64\x01\x02\x03\0\x1awasi:random/insecure@0.2.9\x05*\x01B\x03\x01
387387
o\x02ww\x01@\0\0\0\x04\0\x0dinsecure-seed\x01\x01\x03\0\x1fwasi:random/insecure-\
388388
seed@0.2.9\x05+\x01B\x03\x01j\0\0\x01@\0\0\0\x04\0\x03run\x01\x01\x04\0\x12wasi:\
389389
cli/run@0.2.9\x05,\x04\0\x16wasi:cli/command@0.2.9\x04\0\x0b\x0d\x01\0\x07comman\
390-
d\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.245.0\x10\
391-
wit-bindgen-rust\x060.53.0";
390+
d\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.245.1\x10\
391+
wit-bindgen-rust\x060.54.0";
392392
};
393393
};
394394
}
@@ -397,8 +397,8 @@ pub use __export_command_impl as _export_command;
397397
#[rustfmt::skip]
398398
#[cfg(target_arch = "wasm32")]
399399

400-
#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.53.0: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"))]
401-
#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.53.0: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"))]
400+
#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.54.0: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"))]
401+
#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.54.0: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"))]
402402

403403
#[doc(hidden)]
404404
#[allow(clippy::octal_escapes)]
@@ -619,7 +619,7 @@ nsecure-random-u64\x01\x02\x03\0\x1awasi:random/insecure@0.2.9\x05*\x01B\x03\x01
619619
o\x02ww\x01@\0\0\0\x04\0\x0dinsecure-seed\x01\x01\x03\0\x1fwasi:random/insecure-\
620620
seed@0.2.9\x05+\x04\06wasi:cli/command-with-all-of-its-exports-removed@0.2.9\x04\
621621
\0\x0b-\x01\0'command-with-all-of-its-exports-removed\x03\0\0\0G\x09producers\x01\
622-
\x0cprocessed-by\x02\x0dwit-component\x070.245.0\x10wit-bindgen-rust\x060.53.0";
622+
\x0cprocessed-by\x02\x0dwit-component\x070.245.1\x10wit-bindgen-rust\x060.54.0";
623623
#[inline(never)]
624624
#[doc(hidden)]
625625
pub fn __link_custom_section_describing_imports() {

crates/wasip2/src/imports.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by `wit-bindgen` 0.53.0. DO NOT EDIT!
1+
// Generated by `wit-bindgen` 0.54.0. DO NOT EDIT!
22
// Options used:
33
// * std_feature
44
// * type_section_suffix: "rust-wasip2-1.0.2+wasi-0.2.9-from-crates-io"
@@ -7460,6 +7460,7 @@ pub mod wasi {
74607460
#[doc(hidden)]
74617461
static __FORCE_SECTION_REF: fn() = super::super::super::__link_custom_section_describing_imports;
74627462
use super::super::super::_rt;
7463+
pub type Network = super::super::super::wasi::sockets::network::Network;
74637464
pub type ErrorCode = super::super::super::wasi::sockets::network::ErrorCode;
74647465
pub type IpAddressFamily = super::super::super::wasi::sockets::network::IpAddressFamily;
74657466
pub type UdpSocket = super::super::super::wasi::sockets::udp::UdpSocket;
@@ -9465,6 +9466,7 @@ pub mod wasi {
94659466
#[doc(hidden)]
94669467
static __FORCE_SECTION_REF: fn() = super::super::super::__link_custom_section_describing_imports;
94679468
use super::super::super::_rt;
9469+
pub type Network = super::super::super::wasi::sockets::network::Network;
94689470
pub type ErrorCode = super::super::super::wasi::sockets::network::ErrorCode;
94699471
pub type IpAddressFamily = super::super::super::wasi::sockets::network::IpAddressFamily;
94709472
pub type TcpSocket = super::super::super::wasi::sockets::tcp::TcpSocket;
@@ -9995,8 +9997,8 @@ mod _rt {
99959997
#[rustfmt::skip]
99969998
#[cfg(target_arch = "wasm32")]
99979999

9998-
#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.53.0:wasi:cli@0.2.9:imports:encoded worldrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-in-libstd"))]
9999-
#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.53.0:wasi:cli@0.2.9:imports:encoded worldrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io"))]
10000+
#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.54.0:wasi:cli@0.2.9:imports:encoded worldrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-in-libstd"))]
10001+
#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.54.0:wasi:cli@0.2.9:imports:encoded worldrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io"))]
1000010002

1000110003
#[doc(hidden)]
1000210004
#[allow(clippy::octal_escapes)]
@@ -10216,8 +10218,8 @@ p}\x01@\x01\x03lenw\0\0\x04\0\x10get-random-bytes\x01\x01\x01@\0\0w\x04\0\x0eget
1021610218
nsecure-random-u64\x01\x02\x03\0\x1awasi:random/insecure@0.2.9\x05*\x01B\x03\x01\
1021710219
o\x02ww\x01@\0\0\0\x04\0\x0dinsecure-seed\x01\x01\x03\0\x1fwasi:random/insecure-\
1021810220
seed@0.2.9\x05+\x04\0\x16wasi:cli/imports@0.2.9\x04\0\x0b\x0d\x01\0\x07imports\x03\
10219-
\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.245.0\x10wit-\
10220-
bindgen-rust\x060.53.0";
10221+
\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.245.1\x10wit-\
10222+
bindgen-rust\x060.54.0";
1022110223
#[inline(never)]
1022210224
#[doc(hidden)]
1022310225
pub fn __link_custom_section_describing_imports() {

crates/wasip2/src/proxy.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by `wit-bindgen` 0.53.0. DO NOT EDIT!
1+
// Generated by `wit-bindgen` 0.54.0. DO NOT EDIT!
22
// Options used:
33
// * std_feature
44
// * with "wasi:cli/stdin@0.2.9" = "crate::cli::stdin"
@@ -6867,11 +6867,11 @@ pub mod exports {
68676867
pub type ResponseOutparam = super::super::super::super::wasi::http::types::ResponseOutparam;
68686868
#[doc(hidden)]
68696869
#[allow(non_snake_case, unused_unsafe)]
6870-
pub unsafe fn _export_handle_cabi<T: Guest>(arg0: i32, arg1: i32) {
6870+
pub unsafe fn _export_handle_cabi<T_: Guest>(arg0: i32, arg1: i32) {
68716871
unsafe {
68726872
#[cfg(target_arch = "wasm32")] _rt::run_ctors_once();
68736873
{
6874-
T::handle(
6874+
T_::handle(
68756875
super::super::super::super::wasi::http::types::IncomingRequest::from_handle(
68766876
arg0 as u32,
68776877
),
@@ -7147,7 +7147,7 @@ macro_rules! __export_proxy_impl {
71477147
with_types_in $($path_to_types_root)*:: exports::wasi::http::incoming_handler);
71487148
const _ : () = { #[rustfmt::skip] #[cfg(target_arch = "wasm32")] #[unsafe
71497149
(link_section =
7150-
"component-type:wit-bindgen:0.53.0:wasi:http@0.2.9:proxy:imports and exportsrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-proxy-world")]
7150+
"component-type:wit-bindgen:0.54.0:wasi:http@0.2.9:proxy:imports and exportsrust-wasip2-1.0.2+wasi-0.2.9-from-crates-io-proxy-world")]
71517151
#[doc(hidden)] #[allow(clippy::octal_escapes)] pub static
71527152
__WIT_BINDGEN_COMPONENT_TYPE : [u8; 7040] = *
71537153
b"\
@@ -7291,7 +7291,7 @@ incoming-request\x02\x03\0\x09\x11response-outparam\x01B\x08\x02\x03\x02\x01\x14
72917291
m\x03\0\x02\x01i\x01\x01i\x03\x01@\x02\x07request\x04\x0cresponse-out\x05\x01\0\x04\
72927292
\0\x06handle\x01\x06\x04\0\x20wasi:http/incoming-handler@0.2.9\x05\x16\x04\0\x15\
72937293
wasi:http/proxy@0.2.9\x04\0\x0b\x0b\x01\0\x05proxy\x03\0\0\0G\x09producers\x01\x0c\
7294-
processed-by\x02\x0dwit-component\x070.245.0\x10wit-bindgen-rust\x060.53.0";
7294+
processed-by\x02\x0dwit-component\x070.245.1\x10wit-bindgen-rust\x060.54.0";
72957295
};
72967296
};
72977297
}
@@ -7300,8 +7300,8 @@ pub use __export_proxy_impl as _export_proxy;
73007300
#[rustfmt::skip]
73017301
#[cfg(target_arch = "wasm32")]
73027302

7303-
#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.53.0: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"))]
7304-
#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.53.0: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"))]
7303+
#[cfg_attr(feature = "rustc-dep-of-std", unsafe(link_section = "component-type:wit-bindgen:0.54.0: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"))]
7304+
#[cfg_attr(not(feature = "rustc-dep-of-std"), unsafe(link_section = "component-type:wit-bindgen:0.54.0: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"))]
73057305

73067306
#[doc(hidden)]
73077307
#[allow(clippy::octal_escapes)]
@@ -7443,7 +7443,7 @@ i\x05\x01j\x01\x0b\x01\x07\x01@\x02\x07request\x08\x07options\x0a\0\x0c\x04\0\x0
74437443
handle\x01\x0d\x03\0\x20wasi:http/outgoing-handler@0.2.9\x05\x13\x04\05wasi:http\
74447444
/proxy-with-all-of-its-exports-removed@0.2.9\x04\0\x0b+\x01\0%proxy-with-all-of-\
74457445
its-exports-removed\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-compo\
7446-
nent\x070.245.0\x10wit-bindgen-rust\x060.53.0";
7446+
nent\x070.245.1\x10wit-bindgen-rust\x060.54.0";
74477447
#[inline(never)]
74487448
#[doc(hidden)]
74497449
pub fn __link_custom_section_describing_imports() {

crates/wasip3/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasip3"
3-
version = "0.5.0+wasi-0.3.0-rc-2026-02-09"
3+
version = "0.5.0+wasi-0.3.0-rc-2026-03-15"
44
description = "WASIp3 API bindings for Rust"
55
categories = ["no-std", "wasm"]
66
keywords = ["webassembly", "wasm"]

0 commit comments

Comments
 (0)