diff --git a/Cargo.lock b/Cargo.lock index e8cfd868f..707c0ac1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1361,7 +1361,7 @@ checksum = "0592e1c9d151f854e6fd382574c3a0855250e1d9b2f99d9281c6e6391af352f1" [[package]] name = "wit-bindgen" -version = "0.61.0" +version = "0.61.1" dependencies = [ "bitflags", "futures", @@ -1372,7 +1372,7 @@ dependencies = [ [[package]] name = "wit-bindgen-c" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "clap", @@ -1386,7 +1386,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cli" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "clap", @@ -1407,7 +1407,7 @@ dependencies = [ [[package]] name = "wit-bindgen-core" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "clap", @@ -1418,7 +1418,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cpp" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "clap", @@ -1435,7 +1435,7 @@ dependencies = [ [[package]] name = "wit-bindgen-csharp" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "clap", @@ -1450,7 +1450,7 @@ dependencies = [ [[package]] name = "wit-bindgen-d" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "clap", @@ -1464,7 +1464,7 @@ dependencies = [ [[package]] name = "wit-bindgen-go" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "clap", @@ -1477,7 +1477,7 @@ dependencies = [ [[package]] name = "wit-bindgen-markdown" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "clap", @@ -1488,7 +1488,7 @@ dependencies = [ [[package]] name = "wit-bindgen-moonbit" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "clap", @@ -1498,7 +1498,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "bytes", @@ -1519,7 +1519,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust-macro" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "macro-string", @@ -1533,7 +1533,7 @@ dependencies = [ [[package]] name = "wit-bindgen-test" -version = "0.61.0" +version = "0.61.1" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 4bc0c2ff5..a191fa341 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ resolver = "2" [workspace.package] edition = "2024" -version = "0.61.0" +version = "0.61.1" license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/bytecodealliance/wit-bindgen" rust-version = "1.88.0" @@ -56,17 +56,17 @@ wit-parser = "0.258.0" wit-component = "0.258.0" wasm-compose = "0.258.0" -wit-bindgen-core = { path = 'crates/core', version = '0.61.0' } -wit-bindgen-c = { path = 'crates/c', version = '0.61.0' } -wit-bindgen-cpp = { path = 'crates/cpp', version = '0.61.0' } -wit-bindgen-rust = { path = "crates/rust", version = "0.61.0" } -wit-bindgen-csharp = { path = 'crates/csharp', version = '0.61.0' } -wit-bindgen-markdown = { path = 'crates/markdown', version = '0.61.0' } -wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.61.0' } -wit-bindgen-go = { path = 'crates/go', version = '0.61.0' } -wit-bindgen-d = { path = 'crates/d', version = '0.61.0' } -wit-bindgen = { path = 'crates/guest-rust', version = '0.61.0', default-features = false } -wit-bindgen-test = { path = 'crates/test', version = '0.61.0' } +wit-bindgen-core = { path = 'crates/core', version = '0.61.1' } +wit-bindgen-c = { path = 'crates/c', version = '0.61.1' } +wit-bindgen-cpp = { path = 'crates/cpp', version = '0.61.1' } +wit-bindgen-rust = { path = "crates/rust", version = "0.61.1" } +wit-bindgen-csharp = { path = 'crates/csharp', version = '0.61.1' } +wit-bindgen-markdown = { path = 'crates/markdown', version = '0.61.1' } +wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.61.1' } +wit-bindgen-go = { path = 'crates/go', version = '0.61.1' } +wit-bindgen-d = { path = 'crates/d', version = '0.61.1' } +wit-bindgen = { path = 'crates/guest-rust', version = '0.61.1', default-features = false } +wit-bindgen-test = { path = 'crates/test', version = '0.61.1' } [workspace.lints.clippy] # The default set of lints in Clippy is viewed as "too noisy" right now so diff --git a/crates/cpp/Cargo.toml b/crates/cpp/Cargo.toml index 8c7b8eee8..6474b108e 100644 --- a/crates/cpp/Cargo.toml +++ b/crates/cpp/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "wit-bindgen-cpp" authors = ["Christof Petig "] -version = "0.61.0" +version = "0.61.1" edition.workspace = true rust-version.workspace = true repository = 'https://github.com/cpetig/wit-bindgen' diff --git a/crates/guest-rust/Cargo.toml b/crates/guest-rust/Cargo.toml index a90f89f99..286326c73 100644 --- a/crates/guest-rust/Cargo.toml +++ b/crates/guest-rust/Cargo.toml @@ -25,7 +25,7 @@ workspace = true all-features = true [dependencies] -wit-bindgen-rust-macro = { path = "./macro", optional = true, default-features = false, version = "0.61.0" } +wit-bindgen-rust-macro = { path = "./macro", optional = true, default-features = false, version = "0.61.1" } bitflags = { workspace = true, optional = true } futures = { version = "0.3.30", optional = true, default-features = false, features = ["alloc"] } diff --git a/crates/guest-rust/src/rt/async_support/wasip3_context.rs b/crates/guest-rust/src/rt/async_support/wasip3_context.rs index f4e2cc96a..07acb7f22 100644 --- a/crates/guest-rust/src/rt/async_support/wasip3_context.rs +++ b/crates/guest-rust/src/rt/async_support/wasip3_context.rs @@ -1,8 +1,8 @@ // This file is generated by ./ci/rebuild-libwit-bindgen-cabi.sh unsafe extern "C" { - #[link_name = "wit_bindgen_0_61_0_get_task_context"] + #[link_name = "wit_bindgen_0_61_1_get_task_context"] pub fn get() -> *mut u8; - #[link_name = "wit_bindgen_0_61_0_set_task_context"] + #[link_name = "wit_bindgen_0_61_1_set_task_context"] pub fn set(ptr: *mut u8); } diff --git a/crates/guest-rust/src/rt/libwit_bindgen_cabi_realloc.a b/crates/guest-rust/src/rt/libwit_bindgen_cabi_realloc.a index c4be71b89..283656f08 100644 Binary files a/crates/guest-rust/src/rt/libwit_bindgen_cabi_realloc.a and b/crates/guest-rust/src/rt/libwit_bindgen_cabi_realloc.a differ diff --git a/crates/guest-rust/src/rt/libwit_bindgen_cabi_wasip3.a b/crates/guest-rust/src/rt/libwit_bindgen_cabi_wasip3.a index 020f95a57..a1af6dc71 100644 Binary files a/crates/guest-rust/src/rt/libwit_bindgen_cabi_wasip3.a and b/crates/guest-rust/src/rt/libwit_bindgen_cabi_wasip3.a differ diff --git a/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.c b/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.c index 6c58f761a..3a409a7f4 100644 --- a/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.c +++ b/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.c @@ -2,9 +2,9 @@ #include -extern void *cabi_realloc_wit_bindgen_0_61_0(void *ptr, size_t old_size, size_t align, size_t new_size); +extern void *cabi_realloc_wit_bindgen_0_61_1(void *ptr, size_t old_size, size_t align, size_t new_size); __attribute__((__weak__, __export_name__("cabi_realloc"))) void *cabi_realloc(void *ptr, size_t old_size, size_t align, size_t new_size) { - return cabi_realloc_wit_bindgen_0_61_0(ptr, old_size, align, new_size); + return cabi_realloc_wit_bindgen_0_61_1(ptr, old_size, align, new_size); } diff --git a/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.o b/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.o index bea74aa51..432d11be3 100644 Binary files a/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.o and b/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.o differ diff --git a/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.rs b/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.rs index c2e5b1936..040275f9f 100644 --- a/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.rs +++ b/crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.rs @@ -1,7 +1,7 @@ // This file is generated by ./ci/rebuild-libwit-bindgen-cabi.sh #[unsafe(no_mangle)] -pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_61_0( +pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_61_1( old_ptr: *mut u8, old_len: usize, align: usize, diff --git a/crates/guest-rust/src/rt/wit_bindgen_cabi_wasip3.c b/crates/guest-rust/src/rt/wit_bindgen_cabi_wasip3.c index 8bbcbf32a..cde32c87d 100644 --- a/crates/guest-rust/src/rt/wit_bindgen_cabi_wasip3.c +++ b/crates/guest-rust/src/rt/wit_bindgen_cabi_wasip3.c @@ -13,10 +13,10 @@ void *wasip3_task_set(void *ptr) { static _Thread_local void *task_context = NULL; -void *wit_bindgen_0_61_0_get_task_context(void) { +void *wit_bindgen_0_61_1_get_task_context(void) { return task_context; } -void wit_bindgen_0_61_0_set_task_context(void *ptr) { +void wit_bindgen_0_61_1_set_task_context(void *ptr) { task_context = ptr; } diff --git a/crates/guest-rust/src/rt/wit_bindgen_cabi_wasip3.o b/crates/guest-rust/src/rt/wit_bindgen_cabi_wasip3.o index 100752c68..e3cc9fb02 100644 Binary files a/crates/guest-rust/src/rt/wit_bindgen_cabi_wasip3.o and b/crates/guest-rust/src/rt/wit_bindgen_cabi_wasip3.o differ