A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Update wit-bindgen to 0.45.0 (#11609)
Alex Crichton1047b51183f5
diff --git a/Cargo.lock b/Cargo.lockindex 56785365f1..0505113ed0 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -3644,7 +3644,6 @@ dependencies = ["wasi 0.14.0+wasi-0.2.3","wasi-nn","wit-bindgen",- "wit-bindgen-rt 0.43.0",][[package]]@@ -3658,7 +3657,7 @@ dependencies = ["wasmtime","wasmtime-test-util","wat",- "wit-component 0.238.1",+ "wit-component",][[package]]@@ -4189,7 +4188,7 @@ dependencies = ["byte-array-literals","object 0.37.3","wasi 0.11.0+wasi-snapshot-preview1",- "wasm-encoder 0.238.1",+ "wasm-encoder","wit-bindgen-rust-macro",]@@ -4264,21 +4263,11 @@ dependencies = ["serde_derive","serde_yaml","smallvec",- "wasm-encoder 0.238.1",+ "wasm-encoder","wasmparser 0.238.1","wat",]-[[package]]-name = "wasm-encoder"-version = "0.235.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b3bc393c395cb621367ff02d854179882b9a351b4e0c93d1397e6090b53a5c2a"-dependencies = [- "leb128fmt",- "wasmparser 0.235.0",-]-[[package]]name = "wasm-encoder"version = "0.238.1"@@ -4289,18 +4278,6 @@ dependencies = ["wasmparser 0.238.1",]-[[package]]-name = "wasm-metadata"-version = "0.235.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b055604ba04189d54b8c0ab2c2fc98848f208e103882d5c0b984f045d5ea4d20"-dependencies = [- "anyhow",- "indexmap 2.7.0",- "wasm-encoder 0.235.0",- "wasmparser 0.235.0",-]-[[package]]name = "wasm-metadata"version = "0.238.1"@@ -4309,7 +4286,7 @@ checksum = "00094573b000c92134f2ef0f8afa4f6f892de37e78442988c946243a8c44364e"dependencies = ["anyhow","indexmap 2.7.0",- "wasm-encoder 0.238.1",+ "wasm-encoder","wasmparser 0.238.1",]@@ -4323,7 +4300,7 @@ dependencies = ["log","rand 0.9.2","thiserror 2.0.12",- "wasm-encoder 0.238.1",+ "wasm-encoder","wasmparser 0.238.1",]@@ -4338,7 +4315,7 @@ dependencies = ["flagset","serde","serde_derive",- "wasm-encoder 0.238.1",+ "wasm-encoder","wat",]@@ -4359,7 +4336,7 @@ dependencies = ["indexmap 2.7.0","logos","thiserror 2.0.12",- "wit-parser 0.238.1",+ "wit-parser",][[package]]@@ -4416,18 +4393,6 @@ dependencies = ["indexmap 2.7.0",]-[[package]]-name = "wasmparser"-version = "0.235.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "161296c618fa2d63f6ed5fffd1112937e803cb9ec71b32b01a76321555660917"-dependencies = [- "bitflags 2.6.0",- "hashbrown 0.15.2",- "indexmap 2.7.0",- "semver",-]-[[package]]name = "wasmparser"version = "0.238.1"@@ -4494,7 +4459,7 @@ dependencies = ["target-lexicon","tempfile","tokio",- "wasm-encoder 0.238.1",+ "wasm-encoder","wasm-wave","wasmparser 0.238.1","wasmtime-environ",@@ -4605,7 +4570,7 @@ dependencies = ["tracing","walkdir","wasi-common",- "wasm-encoder 0.238.1",+ "wasm-encoder","wasmparser 0.238.1","wasmtime","wasmtime-cli-flags",@@ -4628,7 +4593,7 @@ dependencies = ["wast 238.0.1","wat","windows-sys 0.60.2",- "wit-component 0.238.1",+ "wit-component",][[package]]@@ -4667,7 +4632,7 @@ dependencies = ["serde_derive","smallvec","target-lexicon",- "wasm-encoder 0.238.1",+ "wasm-encoder","wasmparser 0.238.1","wasmprinter","wasmtime-internal-component-util",@@ -4738,7 +4703,7 @@ dependencies = ["target-lexicon","tempfile","v8",- "wasm-encoder 0.238.1",+ "wasm-encoder","wasm-mutate","wasm-smith","wasm-spec-interpreter",@@ -4805,7 +4770,7 @@ dependencies = ["wasmtime","wasmtime-internal-component-util","wasmtime-internal-wit-bindgen",- "wit-parser 0.238.1",+ "wit-parser",][[package]]@@ -4943,7 +4908,7 @@ dependencies = ["bitflags 2.6.0","heck 0.5.0","indexmap 2.7.0",- "wit-parser 0.238.1",+ "wit-parser",][[package]]@@ -5176,7 +5141,7 @@ dependencies = ["leb128fmt","memchr","unicode-width 0.2.0",- "wasm-encoder 0.238.1",+ "wasm-encoder",][[package]]@@ -5546,23 +5511,25 @@ dependencies = [[[package]]name = "wit-bindgen"-version = "0.43.0"+version = "0.45.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9a18712ff1ec5bd09da500fe1e91dec11256b310da0ff33f8b4ec92b927cf0c6"+checksum = "052283831dbae3d879dc7f51f3d92703a316ca49f91540417d38591826127814"dependencies = [- "wit-bindgen-rt 0.43.0",+ "bitflags 2.6.0",+ "futures",+ "once_cell","wit-bindgen-rust-macro",][[package]]name = "wit-bindgen-core"-version = "0.43.0"+version = "0.45.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2c53468e077362201de11999c85c07c36e12048a990a3e0d69da2bd61da355d0"+checksum = "1df0102d506f94732b6b517015e7e951293ed51e98f1615f15056e5e1a7a4d67"dependencies = ["anyhow","heck 0.5.0",- "wit-parser 0.235.0",+ "wit-parser",][[package]]@@ -5583,38 +5550,27 @@ dependencies = ["bitflags 2.6.0",]-[[package]]-name = "wit-bindgen-rt"-version = "0.43.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9fd734226eac1fd7c450956964e3a9094c9cee65e9dafdf126feef8c0096db65"-dependencies = [- "bitflags 2.6.0",- "futures",- "once_cell",-]-[[package]]name = "wit-bindgen-rust"-version = "0.43.0"+version = "0.45.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "531ebfcec48e56473805285febdb450e270fa75b2dacb92816861d0473b4c15f"+checksum = "8e128967ed7895a41c5541bd8cd2875472caad6434e6699c1b269302a0d60b39"dependencies = ["anyhow","heck 0.5.0","indexmap 2.7.0","prettyplease","syn 2.0.100",- "wasm-metadata 0.235.0",+ "wasm-metadata","wit-bindgen-core",- "wit-component 0.235.0",+ "wit-component",][[package]]name = "wit-bindgen-rust-macro"-version = "0.43.0"+version = "0.45.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7852bf8a9d1ea80884d26b864ddebd7b0c7636697c6ca10f4c6c93945e023966"+checksum = "ea08d8273179bf25a7aa87fc498380f7a7f56a2df93cd1135d0ca36af1eae962"dependencies = ["anyhow","prettyplease",@@ -5625,25 +5581,6 @@ dependencies = ["wit-bindgen-rust",]-[[package]]-name = "wit-component"-version = "0.235.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "64a57a11109cc553396f89f3a38a158a97d0b1adaec113bd73e0f64d30fb601f"-dependencies = [- "anyhow",- "bitflags 2.6.0",- "indexmap 2.7.0",- "log",- "serde",- "serde_derive",- "serde_json",- "wasm-encoder 0.235.0",- "wasm-metadata 0.235.0",- "wasmparser 0.235.0",- "wit-parser 0.235.0",-]-[[package]]name = "wit-component"version = "0.238.1"@@ -5657,28 +5594,10 @@ dependencies = ["serde","serde_derive","serde_json",- "wasm-encoder 0.238.1",- "wasm-metadata 0.238.1",+ "wasm-encoder",+ "wasm-metadata","wasmparser 0.238.1",- "wit-parser 0.238.1",-]--[[package]]-name = "wit-parser"-version = "0.235.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0a1f95a87d03a33e259af286b857a95911eb46236a0f726cbaec1227b3dfc67a"-dependencies = [- "anyhow",- "id-arena",- "indexmap 2.7.0",- "log",- "semver",- "serde",- "serde_derive",- "serde_json",- "unicode-xid",- "wasmparser 0.235.0",+ "wit-parser",][[package]]diff --git a/Cargo.toml b/Cargo.tomlindex 92e8818327..dc54cb4eb7 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -325,9 +325,8 @@ io-lifetimes = { version = "2.0.3", default-features = false }io-extras = "0.18.1"rustix = "1.0.3"# wit-bindgen:-wit-bindgen = { version = "0.43.0", default-features = false }-wit-bindgen-rt = { version = "0.43.0", default-features = false }-wit-bindgen-rust-macro = { version = "0.43.0", default-features = false }+wit-bindgen = { version = "0.45.0", default-features = false }+wit-bindgen-rust-macro = { version = "0.45.0", default-features = false }# wasm-tools family:wasmparser = { version = "0.238.1", default-features = false, features = ['simd'] }diff --git a/crates/test-programs/Cargo.toml b/crates/test-programs/Cargo.tomlindex d9b15d499c..7856fedd0a 100644--- a/crates/test-programs/Cargo.toml+++ b/crates/test-programs/Cargo.toml@@ -14,7 +14,6 @@ workspace = trueanyhow = { workspace = true, features = ['std'] }wasi-nn = "0.6.0"wit-bindgen = { workspace = true, features = ['default'] }-wit-bindgen-rt = { workspace = true, features = ['async'] }libc = { workspace = true }futures = { workspace = true, default-features = false, features = ['alloc'] }url = { workspace = true }diff --git a/crates/test-programs/src/bin/async_backpressure_callee.rs b/crates/test-programs/src/bin/async_backpressure_callee.rsindex 807b93ee0a..9f0adbd6d9 100644--- a/crates/test-programs/src/bin/async_backpressure_callee.rs+++ b/crates/test-programs/src/bin/async_backpressure_callee.rs@@ -8,10 +8,7 @@ mod bindings {export!(Component);}-use {- bindings::exports::local::local::{backpressure::Guest as Backpressure, run::Guest as Run},- wit_bindgen_rt::async_support,-};+use bindings::exports::local::local::{backpressure::Guest as Backpressure, run::Guest as Run};struct Component;@@ -23,7 +20,7 @@ impl Run for Component {impl Backpressure for Component {fn set_backpressure(enabled: bool) {- async_support::backpressure_set(enabled);+ wit_bindgen::backpressure_set(enabled);}}diff --git a/crates/test-programs/src/bin/async_borrowing_callee.rs b/crates/test-programs/src/bin/async_borrowing_callee.rsindex 284727a7d1..d8c4bd0732 100644--- a/crates/test-programs/src/bin/async_borrowing_callee.rs+++ b/crates/test-programs/src/bin/async_borrowing_callee.rs@@ -8,12 +8,9 @@ mod bindings {export!(Component);}-use {- bindings::{- exports::local::local::{borrowing::Guest as Borrowing, run_bool::Guest as RunBool},- local::local::borrowing_types::X,- },- wit_bindgen_rt::async_support,+use bindings::{+ exports::local::local::{borrowing::Guest as Borrowing, run_bool::Guest as RunBool},+ local::local::borrowing_types::X,};struct Component;@@ -21,7 +18,7 @@ struct Component;impl Borrowing for Component {async fn foo(x: &X, misbehave: bool) {let handle = x.handle();- async_support::spawn(async move {+ wit_bindgen::spawn(async move {if misbehave {unsafe { X::from_handle(handle) }.foo();}diff --git a/crates/test-programs/src/bin/async_cancel_callee.rs b/crates/test-programs/src/bin/async_cancel_callee.rsindex c7ace208f2..a5fd39164a 100644--- a/crates/test-programs/src/bin/async_cancel_callee.rs+++ b/crates/test-programs/src/bin/async_cancel_callee.rs@@ -5,14 +5,10 @@ mod bindings {});}-use {- test_programs::async_::{- CALLBACK_CODE_EXIT, CALLBACK_CODE_WAIT, EVENT_CANCELLED, EVENT_NONE, EVENT_SUBTASK,- STATUS_RETURN_CANCELLED, STATUS_RETURNED, STATUS_STARTED, context_get, context_set,- subtask_cancel, subtask_drop, task_cancel, waitable_join, waitable_set_drop,- waitable_set_new,- },- wit_bindgen_rt::async_support,+use test_programs::async_::{+ CALLBACK_CODE_EXIT, CALLBACK_CODE_WAIT, EVENT_CANCELLED, EVENT_NONE, EVENT_SUBTASK,+ STATUS_RETURN_CANCELLED, STATUS_RETURNED, STATUS_STARTED, context_get, context_set,+ subtask_cancel, subtask_drop, task_cancel, waitable_join, waitable_set_drop, waitable_set_new,};#[cfg(target_arch = "wasm32")]@@ -84,7 +80,7 @@ enum State {#[unsafe(export_name = "local:local/backpressure#set-backpressure")]unsafe extern "C" fn export_set_backpressure(enabled: bool) {- async_support::backpressure_set(enabled);+ wit_bindgen::backpressure_set(enabled);}#[unsafe(export_name = "local:local/sleep#[async]sleep-millis")]diff --git a/crates/test-programs/src/bin/async_closed_streams.rs b/crates/test-programs/src/bin/async_closed_streams.rsindex c794279043..96cc77fbb2 100644--- a/crates/test-programs/src/bin/async_closed_streams.rs+++ b/crates/test-programs/src/bin/async_closed_streams.rs@@ -12,7 +12,7 @@ mod bindings {use {bindings::exports::local::local::closed::Guest,std::mem,- wit_bindgen_rt::async_support::{self, FutureReader, StreamReader, StreamResult},+ wit_bindgen::{FutureReader, StreamReader, StreamResult},};struct Component;@@ -39,7 +39,7 @@ impl Guest for Component {expected: u8,_rx_ignored: FutureReader<u8>,) {- async_support::spawn(async move {+ wit_bindgen::spawn(async move {assert_eq!(rx.await, expected);});}diff --git a/crates/test-programs/src/bin/async_error_context.rs b/crates/test-programs/src/bin/async_error_context.rsindex b98de4bcc8..5eeef3df56 100644--- a/crates/test-programs/src/bin/async_error_context.rs+++ b/crates/test-programs/src/bin/async_error_context.rs@@ -9,7 +9,7 @@ mod bindings {}use bindings::exports::local::local::run::Guest;-use wit_bindgen_rt::async_support::ErrorContext;+use wit_bindgen::rt::async_support::ErrorContext;struct Component;diff --git a/crates/test-programs/src/bin/async_error_context_callee.rs b/crates/test-programs/src/bin/async_error_context_callee.rsindex 128bea3810..8de072863f 100644--- a/crates/test-programs/src/bin/async_error_context_callee.rs+++ b/crates/test-programs/src/bin/async_error_context_callee.rs@@ -7,7 +7,7 @@ mod bindings {use super::Component;export!(Component);}-use wit_bindgen_rt::async_support::ErrorContext;+use wit_bindgen::rt::async_support::ErrorContext;struct Component;diff --git a/crates/test-programs/src/bin/async_round_trip_many_wait.rs b/crates/test-programs/src/bin/async_round_trip_many_wait.rsindex 82bed97d5d..ea6ce1f454 100644--- a/crates/test-programs/src/bin/async_round_trip_many_wait.rs+++ b/crates/test-programs/src/bin/async_round_trip_many_wait.rs@@ -9,12 +9,9 @@ mod bindings {export!(Component);}-use {- bindings::{- exports::local::local::many::{Guest, Stuff},- local::local::many,- },- wit_bindgen_rt::async_support,+use bindings::{+ exports::local::local::many::{Guest, Stuff},+ local::local::many,};struct Component;@@ -47,7 +44,7 @@ impl Guest for Component {b: v.b,c: v.c,};- async_support::block_on(async move {+ wit_bindgen::block_on(async move {let (a, b, c, d, e, f, g) = many::foo(format!("{a} - entered guest"),b,diff --git a/crates/test-programs/src/bin/async_round_trip_wait.rs b/crates/test-programs/src/bin/async_round_trip_wait.rsindex 04be105b8b..906ede42da 100644--- a/crates/test-programs/src/bin/async_round_trip_wait.rs+++ b/crates/test-programs/src/bin/async_round_trip_wait.rs@@ -9,16 +9,13 @@ mod bindings {export!(Component);}-use {- bindings::{exports::local::local::baz::Guest as Baz, local::local::baz},- wit_bindgen_rt::async_support,-};+use bindings::{exports::local::local::baz::Guest as Baz, local::local::baz};struct Component;impl Baz for Component {fn foo(s: String) -> String {- async_support::block_on(async move {+ wit_bindgen::block_on(async move {format!("{} - exited guest",baz::foo(format!("{s} - entered guest")).awaitdiff --git a/crates/test-programs/src/bin/async_transmit_callee.rs b/crates/test-programs/src/bin/async_transmit_callee.rsindex 533c3d5045..f0b2070c3f 100644--- a/crates/test-programs/src/bin/async_transmit_callee.rs+++ b/crates/test-programs/src/bin/async_transmit_callee.rs@@ -14,7 +14,7 @@ use {wit_future, wit_stream,},std::future::IntoFuture,- wit_bindgen_rt::async_support::{self, FutureReader, StreamReader, StreamResult},+ wit_bindgen::{FutureReader, StreamReader, StreamResult},};struct Component;@@ -34,7 +34,7 @@ impl Guest for Component {let (callee_future_tx1, callee_future_rx1) = wit_future::new(|| todo!());let (callee_future_tx2, callee_future_rx2) = wit_future::new(|| String::new());- async_support::spawn(async move {+ wit_bindgen::spawn(async move {let mut caller_future_rx1 = Some(caller_future_rx1);let mut callee_future_tx1 = Some(callee_future_tx1);diff --git a/crates/test-programs/src/bin/async_transmit_caller.rs b/crates/test-programs/src/bin/async_transmit_caller.rsindex 41e4315b65..4174f25912 100644--- a/crates/test-programs/src/bin/async_transmit_caller.rs+++ b/crates/test-programs/src/bin/async_transmit_caller.rs@@ -20,7 +20,7 @@ use {pin::{Pin, pin},task::Poll,},- wit_bindgen_rt::async_support::{FutureWriteCancel, StreamResult},+ wit_bindgen::{FutureWriteCancel, StreamResult},};struct Component;diff --git a/crates/test-programs/src/bin/async_unit_stream_callee.rs b/crates/test-programs/src/bin/async_unit_stream_callee.rsindex 064b4df2fe..3c8d3d86cd 100644--- a/crates/test-programs/src/bin/async_unit_stream_callee.rs+++ b/crates/test-programs/src/bin/async_unit_stream_callee.rs@@ -10,7 +10,7 @@ mod bindings {use {bindings::{exports::local::local::unit_stream::Guest, wit_stream},- wit_bindgen_rt::async_support::{self, StreamReader},+ wit_bindgen::StreamReader,};struct Component;@@ -19,7 +19,7 @@ impl Guest for Component {async fn run(count: u32) -> StreamReader<()> {let (mut tx, rx) = wit_stream::new();- async_support::spawn(async move {+ wit_bindgen::spawn(async move {let mut sent = 0;let mut chunk_size = 1;while sent < count {diff --git a/crates/test-programs/src/bin/async_yield_callee_synchronous.rs b/crates/test-programs/src/bin/async_yield_callee_synchronous.rsindex 520f46d963..f40e91b14b 100644--- a/crates/test-programs/src/bin/async_yield_callee_synchronous.rs+++ b/crates/test-programs/src/bin/async_yield_callee_synchronous.rs@@ -9,16 +9,13 @@ mod bindings {export!(Component);}-use {- bindings::{exports::local::local::run::Guest, local::local::continue_},- wit_bindgen_rt::async_support,-};+use bindings::{exports::local::local::run::Guest, local::local::continue_};struct Component;impl Guest for Component {fn run() {- while continue_::get_continue() && async_support::yield_blocking() {}+ while continue_::get_continue() && wit_bindgen::yield_blocking() {}}}diff --git a/crates/test-programs/src/bin/p3_api_proxy.rs b/crates/test-programs/src/bin/p3_api_proxy.rsindex d5b88d1ded..71fa8a6b31 100644--- a/crates/test-programs/src/bin/p3_api_proxy.rs+++ b/crates/test-programs/src/bin/p3_api_proxy.rs@@ -1,7 +1,7 @@use futures::join;use test_programs::p3::wasi::http::types::{ErrorCode, Headers, Request, Response};use test_programs::p3::{wit_future, wit_stream};-use wit_bindgen_rt::async_support::spawn;+use wit_bindgen::spawn;struct T;diff --git a/crates/test-programs/src/bin/p3_http_echo.rs b/crates/test-programs/src/bin/p3_http_echo.rsindex 0bb78f0678..77ec189f5d 100644--- a/crates/test-programs/src/bin/p3_http_echo.rs+++ b/crates/test-programs/src/bin/p3_http_echo.rs@@ -4,7 +4,7 @@ use {wasi::http::types::{ErrorCode, Request, Response},wit_future, wit_stream,},- wit_bindgen_rt::async_support::{self, StreamResult},+ wit_bindgen::StreamResult,};struct Component;@@ -28,7 +28,7 @@ impl Handler for Component {let (trailers_tx, trailers_rx) = wit_future::new(|| todo!());let (mut pipe_tx, pipe_rx) = wit_stream::new();- async_support::spawn(async move {+ wit_bindgen::spawn(async move {let mut body_rx = body;let mut chunk = Vec::with_capacity(1024);loop {diff --git a/crates/test-programs/src/bin/p3_http_middleware.rs b/crates/test-programs/src/bin/p3_http_middleware.rsindex c801b290cc..2384e05ef9 100644--- a/crates/test-programs/src/bin/p3_http_middleware.rs+++ b/crates/test-programs/src/bin/p3_http_middleware.rs@@ -12,7 +12,7 @@ use {},wit_future, wit_stream,},- wit_bindgen_rt::async_support::{self, StreamResult},+ wit_bindgen::StreamResult,};struct Component;@@ -56,7 +56,7 @@ impl Handler for Component {let (trailers_tx, trailers_rx) = wit_future::new(|| todo!());let (mut pipe_tx, pipe_rx) = wit_stream::new();- async_support::spawn(async move {+ wit_bindgen::spawn(async move {{let mut decoder = DeflateDecoder::new(Vec::new());@@ -120,7 +120,7 @@ impl Handler for Component {let (trailers_tx, trailers_rx) = wit_future::new(|| todo!());let (mut pipe_tx, pipe_rx) = wit_stream::new();- async_support::spawn(async move {+ wit_bindgen::spawn(async move {{let mut encoder = DeflateEncoder::new(Vec::new(), Compression::fast());let (mut status, mut chunk) = body.read(Vec::with_capacity(64 * 1024)).await;diff --git a/crates/test-programs/src/bin/p3_http_outbound_request_content_length.rs b/crates/test-programs/src/bin/p3_http_outbound_request_content_length.rsindex a8f8178eee..8734d76f54 100644--- a/crates/test-programs/src/bin/p3_http_outbound_request_content_length.rs+++ b/crates/test-programs/src/bin/p3_http_outbound_request_content_length.rs@@ -3,8 +3,7 @@ use futures::join;use test_programs::p3::wasi::http::handler;use test_programs::p3::wasi::http::types::{ErrorCode, Headers, Method, Request, Scheme, Trailers};use test_programs::p3::{wit_future, wit_stream};-use wit_bindgen::FutureReader;-use wit_bindgen_rt::async_support::{FutureWriter, StreamWriter};+use wit_bindgen::{FutureReader, FutureWriter, StreamWriter};struct Component;diff --git a/crates/test-programs/src/bin/p3_sockets_tcp_sample_application.rs b/crates/test-programs/src/bin/p3_sockets_tcp_sample_application.rsindex c2a3602144..e765b92816 100644--- a/crates/test-programs/src/bin/p3_sockets_tcp_sample_application.rs+++ b/crates/test-programs/src/bin/p3_sockets_tcp_sample_application.rs@@ -3,7 +3,7 @@ use test_programs::p3::wasi::sockets::types::{IpAddressFamily, IpSocketAddress, Ipv4SocketAddress, Ipv6SocketAddress, TcpSocket,};use test_programs::p3::wit_stream;-use wit_bindgen_rt::async_support::StreamResult;+use wit_bindgen::StreamResult;struct Component;diff --git a/crates/test-programs/src/bin/p3_sockets_tcp_streams.rs b/crates/test-programs/src/bin/p3_sockets_tcp_streams.rsindex ca124e8902..5c1a6da292 100644--- a/crates/test-programs/src/bin/p3_sockets_tcp_streams.rs+++ b/crates/test-programs/src/bin/p3_sockets_tcp_streams.rs@@ -1,5 +1,3 @@-use core::future::Future;-use futures::join;use test_programs::p3::wasi::sockets::types::{IpAddress, IpAddressFamily, IpSocketAddress, TcpSocket,diff --git a/supply-chain/audits.toml b/supply-chain/audits.tomlindex 3f0017fd1c..49a833e89c 100644--- a/supply-chain/audits.toml+++ b/supply-chain/audits.toml@@ -4742,11 +4742,23 @@ who = "Joel Dice <[email protected]>"criteria = "safe-to-run"version = "0.37.0"+[[audits.wit-bindgen]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.43.0 -> 0.45.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wit-bindgen-core]]who = "Joel Dice <[email protected]>"criteria = "safe-to-run"version = "0.37.0"+[[audits.wit-bindgen-core]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.43.0 -> 0.45.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wit-bindgen-rt]]who = "Joel Dice <[email protected]>"criteria = "safe-to-run"@@ -4757,11 +4769,23 @@ who = "Joel Dice <[email protected]>"criteria = "safe-to-run"version = "0.37.0"+[[audits.wit-bindgen-rust]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.43.0 -> 0.45.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wit-bindgen-rust-macro]]who = "Joel Dice <[email protected]>"criteria = "safe-to-run"version = "0.37.0"+[[audits.wit-bindgen-rust-macro]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.43.0 -> 0.45.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wit-component]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"