diff --git a/Cargo.lock b/Cargo.lock index 298660383..142b83f68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1450,7 +1450,7 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.51.0" +version = "0.52.0" dependencies = [ "bitflags", "futures", @@ -1461,7 +1461,7 @@ dependencies = [ [[package]] name = "wit-bindgen-c" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "clap", @@ -1475,7 +1475,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cli" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "clap", @@ -1495,7 +1495,7 @@ dependencies = [ [[package]] name = "wit-bindgen-core" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "clap", @@ -1506,7 +1506,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cpp" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "clap", @@ -1521,7 +1521,7 @@ dependencies = [ [[package]] name = "wit-bindgen-csharp" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "clap", @@ -1535,7 +1535,7 @@ dependencies = [ [[package]] name = "wit-bindgen-go" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "clap", @@ -1548,7 +1548,7 @@ dependencies = [ [[package]] name = "wit-bindgen-markdown" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "clap", @@ -1559,7 +1559,7 @@ dependencies = [ [[package]] name = "wit-bindgen-moonbit" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "clap", @@ -1569,7 +1569,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "bytes", @@ -1590,7 +1590,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust-macro" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "prettyplease", @@ -1603,7 +1603,7 @@ dependencies = [ [[package]] name = "wit-bindgen-test" -version = "0.51.0" +version = "0.52.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 87fd58345..cfbbf5fc9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ resolver = "2" [workspace.package] edition = "2024" -version = "0.51.0" +version = "0.52.0" license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/bytecodealliance/wit-bindgen" rust-version = "1.87.0" @@ -44,16 +44,16 @@ wit-parser = "0.244.0" wit-component = "0.244.0" wasm-compose = "0.244.0" -wit-bindgen-core = { path = 'crates/core', version = '0.51.0' } -wit-bindgen-c = { path = 'crates/c', version = '0.51.0' } -wit-bindgen-cpp = { path = 'crates/cpp', version = '0.51.0' } -wit-bindgen-rust = { path = "crates/rust", version = "0.51.0" } -wit-bindgen-csharp = { path = 'crates/csharp', version = '0.51.0' } -wit-bindgen-markdown = { path = 'crates/markdown', version = '0.51.0' } -wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.51.0' } -wit-bindgen-go = { path = 'crates/go', version = '0.51.0' } -wit-bindgen = { path = 'crates/guest-rust', version = '0.51.0', default-features = false } -wit-bindgen-test = { path = 'crates/test', version = '0.51.0' } +wit-bindgen-core = { path = 'crates/core', version = '0.52.0' } +wit-bindgen-c = { path = 'crates/c', version = '0.52.0' } +wit-bindgen-cpp = { path = 'crates/cpp', version = '0.52.0' } +wit-bindgen-rust = { path = "crates/rust", version = "0.52.0" } +wit-bindgen-csharp = { path = 'crates/csharp', version = '0.52.0' } +wit-bindgen-markdown = { path = 'crates/markdown', version = '0.52.0' } +wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.52.0' } +wit-bindgen-go = { path = 'crates/go', version = '0.52.0' } +wit-bindgen = { path = 'crates/guest-rust', version = '0.52.0', default-features = false } +wit-bindgen-test = { path = 'crates/test', version = '0.52.0' } [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 076ef6779..0400ebc02 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.51.0" +version = "0.52.0" 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 73e798129..6a2556d71 100644 --- a/crates/guest-rust/Cargo.toml +++ b/crates/guest-rust/Cargo.toml @@ -19,7 +19,7 @@ workspace = true all-features = true [dependencies] -wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.51.0" } +wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.52.0" } bitflags = { workspace = true, optional = true } futures = { version = "0.3.30", optional = true } diff --git a/crates/guest-rust/src/rt/libwit_bindgen_cabi.a b/crates/guest-rust/src/rt/libwit_bindgen_cabi.a index 4779dd7b2..8aeaa8ae2 100644 Binary files a/crates/guest-rust/src/rt/libwit_bindgen_cabi.a and b/crates/guest-rust/src/rt/libwit_bindgen_cabi.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 b838d63fd..2482086ef 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_51_0(void *ptr, size_t old_size, size_t align, size_t new_size); +extern void *cabi_realloc_wit_bindgen_0_52_0(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_51_0(ptr, old_size, align, new_size); + return cabi_realloc_wit_bindgen_0_52_0(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 79c8e9ba7..563bd8e3d 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 b336670d9..6f73f86da 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_51_0( +pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_52_0( old_ptr: *mut u8, old_len: usize, align: usize,