From 40243cb7743d835ed2bf76cbbcf92824879fe952 Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Wed, 5 Feb 2025 07:13:09 -0500 Subject: [PATCH 1/2] Upgrade `wit-bindgen-rt` to version 0.39.0 --- Cargo.toml | 2 +- src/bindings.rs | 6 +++--- src/command.rs | 12 ++++++------ src/proxy.rs | 10 +++++----- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 16290442..125d817c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ wasi = { version = "0.14", path = ".", default-features = false } members = ["./crates/*"] [dependencies] -wit-bindgen-rt = { version = "0.37.0", features = ["bitflags"] } +wit-bindgen-rt = { version = "0.39.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 cc9c6828..b241e37f 100644 --- a/src/bindings.rs +++ b/src/bindings.rs @@ -1,4 +1,4 @@ -// Generated by `wit-bindgen` 0.37.0. DO NOT EDIT! +// Generated by `wit-bindgen` 0.39.0. DO NOT EDIT! // Options used: // * std_feature // * runtime_path: "wit_bindgen_rt" @@ -15743,7 +15743,7 @@ mod _rt { } #[cfg(target_arch = "wasm32")] #[unsafe( - link_section = "component-type:wit-bindgen:0.37.0:rust:wasi:bindings:encoded worldrust-wasi-from-crates-io" + link_section = "component-type:wit-bindgen:0.39.0:rust:wasi:bindings:encoded worldrust-wasi-from-crates-io" )] #[doc(hidden)] #[allow(clippy::octal_escapes)] @@ -16058,7 +16058,7 @@ get-insecure-random-bytes\x01\x01\x01@\0\0w\x04\0\x17get-insecure-random-u64\x01 \x02\x03\0\x1awasi:random/insecure@0.2.3\x050\x01B\x03\x01o\x02ww\x01@\0\0\0\x04\ \0\x0dinsecure-seed\x01\x01\x03\0\x1fwasi:random/insecure-seed@0.2.3\x051\x04\0\x12\ rust:wasi/bindings\x04\0\x0b\x0e\x01\0\x08bindings\x03\0\0\0G\x09producers\x01\x0c\ -processed-by\x02\x0dwit-component\x070.223.0\x10wit-bindgen-rust\x060.37.0"; +processed-by\x02\x0dwit-component\x070.225.0\x10wit-bindgen-rust\x060.39.0"; #[inline(never)] #[doc(hidden)] pub fn __link_custom_section_describing_imports() { diff --git a/src/command.rs b/src/command.rs index 092cb3ca..186026b9 100644 --- a/src/command.rs +++ b/src/command.rs @@ -1,4 +1,4 @@ -// Generated by `wit-bindgen` 0.37.0. DO NOT EDIT! +// Generated by `wit-bindgen` 0.39.0. DO NOT EDIT! // Options used: // * std_feature // * runtime_path: "wit_bindgen_rt" @@ -137,7 +137,7 @@ macro_rules! __export_command_impl { exports::wasi::cli::run::__export_wasi_cli_run_0_2_3_cabi!($ty with_types_in $($path_to_types_root)*:: exports::wasi::cli::run); const _ : () = { #[cfg(target_arch = "wasm32")] #[unsafe (link_section = - "component-type:wit-bindgen:0.37.0:wasi:cli@0.2.3:command:imports and exportsrust-wasi-from-crates-io-command-world")] + "component-type:wit-bindgen:0.39.0:wasi:cli@0.2.3:command:imports and exportsrust-wasi-from-crates-io-command-world")] #[doc(hidden)] #[allow(clippy::octal_escapes)] pub static __WIT_BINDGEN_COMPONENT_TYPE : [u8; 10773] = * b"\ @@ -357,8 +357,8 @@ nsecure-random-u64\x01\x02\x03\0\x1awasi:random/insecure@0.2.3\x05*\x01B\x03\x01 o\x02ww\x01@\0\0\0\x04\0\x0dinsecure-seed\x01\x01\x03\0\x1fwasi:random/insecure-\ seed@0.2.3\x05+\x01B\x03\x01j\0\0\x01@\0\0\0\x04\0\x03run\x01\x01\x04\0\x12wasi:\ cli/run@0.2.3\x05,\x04\0\x16wasi:cli/command@0.2.3\x04\0\x0b\x0d\x01\0\x07comman\ -d\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.223.0\x10\ -wit-bindgen-rust\x060.37.0"; +d\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.225.0\x10\ +wit-bindgen-rust\x060.39.0"; }; }; } @@ -366,7 +366,7 @@ wit-bindgen-rust\x060.37.0"; pub use __export_command_impl as _export_command; #[cfg(target_arch = "wasm32")] #[unsafe( - link_section = "component-type:wit-bindgen:0.37.0:wasi:cli@0.2.3:command-with-all-of-its-exports-removed:encoded worldrust-wasi-from-crates-io-command-world" + link_section = "component-type:wit-bindgen:0.39.0:wasi:cli@0.2.3:command-with-all-of-its-exports-removed:encoded worldrust-wasi-from-crates-io-command-world" )] #[doc(hidden)] #[allow(clippy::octal_escapes)] @@ -587,7 +587,7 @@ nsecure-random-u64\x01\x02\x03\0\x1awasi:random/insecure@0.2.3\x05*\x01B\x03\x01 o\x02ww\x01@\0\0\0\x04\0\x0dinsecure-seed\x01\x01\x03\0\x1fwasi:random/insecure-\ seed@0.2.3\x05+\x04\06wasi:cli/command-with-all-of-its-exports-removed@0.2.3\x04\ \0\x0b-\x01\0'command-with-all-of-its-exports-removed\x03\0\0\0G\x09producers\x01\ -\x0cprocessed-by\x02\x0dwit-component\x070.223.0\x10wit-bindgen-rust\x060.37.0"; +\x0cprocessed-by\x02\x0dwit-component\x070.225.0\x10wit-bindgen-rust\x060.39.0"; #[inline(never)] #[doc(hidden)] pub fn __link_custom_section_describing_imports() { diff --git a/src/proxy.rs b/src/proxy.rs index 4001977d..61d4ad86 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -1,4 +1,4 @@ -// Generated by `wit-bindgen` 0.37.0. DO NOT EDIT! +// Generated by `wit-bindgen` 0.39.0. DO NOT EDIT! // Options used: // * std_feature // * runtime_path: "wit_bindgen_rt" @@ -124,7 +124,7 @@ macro_rules! __export_proxy_impl { exports::wasi::http::incoming_handler::__export_wasi_http_incoming_handler_0_2_3_cabi!($ty with_types_in $($path_to_types_root)*:: exports::wasi::http::incoming_handler); const _ : () = { #[cfg(target_arch = "wasm32")] #[unsafe (link_section = - "component-type:wit-bindgen:0.37.0:wasi:http@0.2.3:proxy:imports and exportsrust-wasi-from-crates-io-proxy-world")] + "component-type:wit-bindgen:0.39.0:wasi:http@0.2.3:proxy:imports and exportsrust-wasi-from-crates-io-proxy-world")] #[doc(hidden)] #[allow(clippy::octal_escapes)] pub static __WIT_BINDGEN_COMPONENT_TYPE : [u8; 7040] = * b"\ @@ -268,7 +268,7 @@ incoming-request\x02\x03\0\x09\x11response-outparam\x01B\x08\x02\x03\x02\x01\x14 m\x03\0\x02\x01i\x01\x01i\x03\x01@\x02\x07request\x04\x0cresponse-out\x05\x01\0\x04\ \0\x06handle\x01\x06\x04\0\x20wasi:http/incoming-handler@0.2.3\x05\x16\x04\0\x15\ wasi:http/proxy@0.2.3\x04\0\x0b\x0b\x01\0\x05proxy\x03\0\0\0G\x09producers\x01\x0c\ -processed-by\x02\x0dwit-component\x070.223.0\x10wit-bindgen-rust\x060.37.0"; +processed-by\x02\x0dwit-component\x070.225.0\x10wit-bindgen-rust\x060.39.0"; }; }; } @@ -276,7 +276,7 @@ processed-by\x02\x0dwit-component\x070.223.0\x10wit-bindgen-rust\x060.37.0"; pub use __export_proxy_impl as _export_proxy; #[cfg(target_arch = "wasm32")] #[unsafe( - link_section = "component-type:wit-bindgen:0.37.0:wasi:http@0.2.3:proxy-with-all-of-its-exports-removed:encoded worldrust-wasi-from-crates-io-proxy-world" + link_section = "component-type:wit-bindgen:0.39.0:wasi:http@0.2.3:proxy-with-all-of-its-exports-removed:encoded worldrust-wasi-from-crates-io-proxy-world" )] #[doc(hidden)] #[allow(clippy::octal_escapes)] @@ -418,7 +418,7 @@ i\x05\x01j\x01\x0b\x01\x07\x01@\x02\x07request\x08\x07options\x0a\0\x0c\x04\0\x0 handle\x01\x0d\x03\0\x20wasi:http/outgoing-handler@0.2.3\x05\x13\x04\05wasi:http\ /proxy-with-all-of-its-exports-removed@0.2.3\x04\0\x0b+\x01\0%proxy-with-all-of-\ its-exports-removed\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-compo\ -nent\x070.223.0\x10wit-bindgen-rust\x060.37.0"; +nent\x070.225.0\x10wit-bindgen-rust\x060.39.0"; #[inline(never)] #[doc(hidden)] pub fn __link_custom_section_describing_imports() { From 98970a1a40b1f3079d4440d4d886a9a12c22ef6e Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Wed, 5 Feb 2025 07:24:14 -0500 Subject: [PATCH 2/2] Update .github/workflows/main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ea63f49e..2882a225 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -72,6 +72,6 @@ jobs: run: | ./ci/vendor-wit.sh git diff --exit-code - - run: cargo install wit-bindgen-cli@0.37.0 --locked + - run: cargo install wit-bindgen-cli@0.39.0 --locked - run: ./ci/regenerate.sh - run: git diff --exit-code