diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index da90d70..26524c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -75,6 +75,6 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust run: rustup update stable && rustup default stable - - run: cargo install wit-bindgen-cli@0.23.0 --locked + - run: cargo install wit-bindgen-cli@0.24.0 --locked - run: ./ci/regenerate.sh - run: git diff --exit-code diff --git a/Cargo.toml b/Cargo.toml index 266e5f0..2830de9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasi" -version = "0.13.0+wasi-0.2.0" +version = "0.13.1+wasi-0.2.0" authors = ["The Cranelift Project Developers"] description = "WASI API bindings for Rust" categories = ["no-std", "wasm"] @@ -24,7 +24,7 @@ wasi = { version = "0.13", path = ".", default-features = false } members = ["./crates/*"] [dependencies] -wit-bindgen-rt = { version = "0.23.0", features = ["bitflags"] } +wit-bindgen-rt = { version = "0.24.0", features = ["bitflags"] } # When built as part of libstd compiler_builtins = { version = "0.1", optional = true } diff --git a/src/bindings.rs b/src/bindings.rs index cdca9fc..37c68f3 100644 --- a/src/bindings.rs +++ b/src/bindings.rs @@ -1,4 +1,4 @@ -// Generated by `wit-bindgen` 0.23.0. DO NOT EDIT! +// Generated by `wit-bindgen` 0.24.0. DO NOT EDIT! // Options used: // * std_feature #[allow(dead_code)] @@ -15600,7 +15600,7 @@ mod _rt { } #[cfg(target_arch = "wasm32")] -#[link_section = "component-type:wit-bindgen:0.23.0:bindings:encoded worldrust-wasi-from-crates-io"] +#[link_section = "component-type:wit-bindgen:0.24.0:bindings:encoded worldrust-wasi-from-crates-io"] #[doc(hidden)] pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 15607] = *b"\ \0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\xf8x\x01A\x02\x01AO\x01\ @@ -15914,7 +15914,7 @@ w\0\0\x04\0\x19get-insecure-random-bytes\x01\x01\x01@\0\0w\x04\0\x17get-insecure ww\x01@\0\0\0\x04\0\x0dinsecure-seed\x01\x01\x03\x01\x1fwasi:random/insecure-see\ d@0.2.0\x051\x04\x01\x12rust:wasi/bindings\x04\0\x0b\x0e\x01\0\x08bindings\x03\0\ \0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.202.0\x10wit-bi\ -ndgen-rust\x060.23.0"; +ndgen-rust\x060.24.0"; #[inline(never)] #[doc(hidden)] diff --git a/src/command.rs b/src/command.rs index 899a79b..20ac3c3 100644 --- a/src/command.rs +++ b/src/command.rs @@ -1,4 +1,4 @@ -// Generated by `wit-bindgen` 0.23.0. DO NOT EDIT! +// Generated by `wit-bindgen` 0.24.0. DO NOT EDIT! // Options used: // * std_feature // * with "wasi:cli/environment@0.2.0" = "crate::cli::environment" @@ -139,7 +139,7 @@ macro_rules! __export_command_impl { const _: () = { #[cfg(target_arch = "wasm32")] - #[link_section = "component-type:wit-bindgen:0.23.0:command:imports and exportsrust-wasi-from-crates-io-command-world"] + #[link_section = "component-type:wit-bindgen:0.24.0:command:imports and exportsrust-wasi-from-crates-io-command-world"] #[doc(hidden)] pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 10773] = *b"\ \0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\x97S\x01A\x02\x01AI\x01\ @@ -359,7 +359,7 @@ asi:random/insecure@0.2.0\x05*\x01B\x03\x01o\x02ww\x01@\0\0\0\x04\0\x0dinsecure- seed\x01\x01\x03\x01\x1fwasi:random/insecure-seed@0.2.0\x05+\x01B\x03\x01j\0\0\x01\ @\0\0\0\x04\0\x03run\x01\x01\x04\x01\x12wasi:cli/run@0.2.0\x05,\x04\x01\x16wasi:\ cli/command@0.2.0\x04\0\x0b\x0d\x01\0\x07command\x03\0\0\0G\x09producers\x01\x0c\ -processed-by\x02\x0dwit-component\x070.202.0\x10wit-bindgen-rust\x060.23.0"; +processed-by\x02\x0dwit-component\x070.202.0\x10wit-bindgen-rust\x060.24.0"; }; ) } @@ -367,7 +367,7 @@ processed-by\x02\x0dwit-component\x070.202.0\x10wit-bindgen-rust\x060.23.0"; pub use __export_command_impl as _export_command; #[cfg(target_arch = "wasm32")] -#[link_section = "component-type:wit-bindgen:0.23.0:command-with-all-of-its-exports-removed:encoded worldrust-wasi-from-crates-io-command-world"] +#[link_section = "component-type:wit-bindgen:0.24.0:command-with-all-of-its-exports-removed:encoded worldrust-wasi-from-crates-io-command-world"] #[doc(hidden)] pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 10794] = *b"\ \0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\x8cS\x01A\x02\x01AG\x01\ @@ -587,7 +587,7 @@ asi:random/insecure@0.2.0\x05*\x01B\x03\x01o\x02ww\x01@\0\0\0\x04\0\x0dinsecure- seed\x01\x01\x03\x01\x1fwasi:random/insecure-seed@0.2.0\x05+\x04\x016wasi:cli/co\ mmand-with-all-of-its-exports-removed@0.2.0\x04\0\x0b-\x01\0'command-with-all-of\ -its-exports-removed\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-comp\ -onent\x070.202.0\x10wit-bindgen-rust\x060.23.0"; +onent\x070.202.0\x10wit-bindgen-rust\x060.24.0"; #[inline(never)] #[doc(hidden)] diff --git a/src/proxy.rs b/src/proxy.rs index 0bcb327..0caf379 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -1,4 +1,4 @@ -// Generated by `wit-bindgen` 0.23.0. DO NOT EDIT! +// Generated by `wit-bindgen` 0.24.0. DO NOT EDIT! // Options used: // * std_feature // * with "wasi:cli/stdin@0.2.0" = "crate::cli::stdin" @@ -122,7 +122,7 @@ macro_rules! __export_proxy_impl { const _: () = { #[cfg(target_arch = "wasm32")] - #[link_section = "component-type:wit-bindgen:0.23.0:proxy:imports and exportsrust-wasi-from-crates-io-proxy-world"] + #[link_section = "component-type:wit-bindgen:0.24.0:proxy:imports and exportsrust-wasi-from-crates-io-proxy-world"] #[doc(hidden)] pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 7024] = *b"\ \0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\xf45\x01A\x02\x01A#\x01\ @@ -266,7 +266,7 @@ sw\x0bnanosecondsy\x04\0\x08datetime\x03\0\0\x01@\0\0\x01\x04\0\x03now\x01\x02\x \x01\0\x04\0\x06handle\x01\x06\x04\x01\x20wasi:http/incoming-handler@0.2.0\x05\x16\ \x04\x01\x15wasi:http/proxy@0.2.0\x04\0\x0b\x0b\x01\0\x05proxy\x03\0\0\0G\x09pro\ ducers\x01\x0cprocessed-by\x02\x0dwit-component\x070.202.0\x10wit-bindgen-rust\x06\ -0.23.0"; +0.24.0"; }; ) } @@ -274,7 +274,7 @@ ducers\x01\x0cprocessed-by\x02\x0dwit-component\x070.202.0\x10wit-bindgen-rust\x pub use __export_proxy_impl as _export_proxy; #[cfg(target_arch = "wasm32")] -#[link_section = "component-type:wit-bindgen:0.23.0:proxy-with-all-of-its-exports-removed:encoded worldrust-wasi-from-crates-io-proxy-world"] +#[link_section = "component-type:wit-bindgen:0.24.0:proxy-with-all-of-its-exports-removed:encoded worldrust-wasi-from-crates-io-proxy-world"] #[doc(hidden)] pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 6905] = *b"\ \0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\xdd4\x01A\x02\x01A\x1f\ @@ -414,7 +414,7 @@ sw\x0bnanosecondsy\x04\0\x08datetime\x03\0\0\x01@\0\0\x01\x04\0\x03now\x01\x02\x \0\x0aresolution\x01\x02\x03\x01\x1cwasi:clocks/wall-clock@0.2.0\x05\x13\x04\x01\ 5wasi:http/proxy-with-all-of-its-exports-removed@0.2.0\x04\0\x0b+\x01\0%proxy-wi\ th-all-of-its-exports-removed\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0d\ -wit-component\x070.202.0\x10wit-bindgen-rust\x060.23.0"; +wit-component\x070.202.0\x10wit-bindgen-rust\x060.24.0"; #[inline(never)] #[doc(hidden)]