diff --git a/Cargo.lock b/Cargo.lock index 43b14e6e5..eeb920d5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1203,7 +1203,7 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.50.0" +version = "0.51.0" dependencies = [ "bitflags", "futures", @@ -1214,7 +1214,7 @@ dependencies = [ [[package]] name = "wit-bindgen-c" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "clap", @@ -1228,7 +1228,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cli" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "clap", @@ -1248,7 +1248,7 @@ dependencies = [ [[package]] name = "wit-bindgen-core" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "clap", @@ -1259,7 +1259,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cpp" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "clap", @@ -1274,7 +1274,7 @@ dependencies = [ [[package]] name = "wit-bindgen-csharp" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "clap", @@ -1288,7 +1288,7 @@ dependencies = [ [[package]] name = "wit-bindgen-go" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "clap", @@ -1301,7 +1301,7 @@ dependencies = [ [[package]] name = "wit-bindgen-markdown" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "clap", @@ -1312,7 +1312,7 @@ dependencies = [ [[package]] name = "wit-bindgen-moonbit" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "clap", @@ -1322,7 +1322,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "bytes", @@ -1343,7 +1343,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust-macro" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "prettyplease", @@ -1356,7 +1356,7 @@ dependencies = [ [[package]] name = "wit-bindgen-test" -version = "0.50.0" +version = "0.51.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 75e066131..87fd58345 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ resolver = "2" [workspace.package] edition = "2024" -version = "0.50.0" +version = "0.51.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.50.0' } -wit-bindgen-c = { path = 'crates/c', version = '0.50.0' } -wit-bindgen-cpp = { path = 'crates/cpp', version = '0.50.0' } -wit-bindgen-rust = { path = "crates/rust", version = "0.50.0" } -wit-bindgen-csharp = { path = 'crates/csharp', version = '0.50.0' } -wit-bindgen-markdown = { path = 'crates/markdown', version = '0.50.0' } -wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.50.0' } -wit-bindgen-go = { path = 'crates/go', version = '0.50.0' } -wit-bindgen = { path = 'crates/guest-rust', version = '0.50.0', default-features = false } -wit-bindgen-test = { path = 'crates/test', version = '0.50.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' } [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 f99883060..076ef6779 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.50.0" +version = "0.51.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 3ee6d6a8d..73e798129 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.50.0" } +wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.51.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 1352353f9..4779dd7b2 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 853bb0e30..b838d63fd 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_50_0(void *ptr, size_t old_size, size_t align, size_t new_size); +extern void *cabi_realloc_wit_bindgen_0_51_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_50_0(ptr, old_size, align, new_size); + return cabi_realloc_wit_bindgen_0_51_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 db4a4557e..79c8e9ba7 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 65cd4aac8..b336670d9 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_50_0( +pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_51_0( old_ptr: *mut u8, old_len: usize, align: usize,