diff --git a/Cargo.lock b/Cargo.lock index 251c18757..4899d588d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1461,7 +1461,7 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.54.0" +version = "0.55.0" dependencies = [ "bitflags", "futures", @@ -1472,7 +1472,7 @@ dependencies = [ [[package]] name = "wit-bindgen-c" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "clap", @@ -1486,7 +1486,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cli" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "clap", @@ -1506,7 +1506,7 @@ dependencies = [ [[package]] name = "wit-bindgen-core" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "clap", @@ -1517,7 +1517,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cpp" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "clap", @@ -1532,7 +1532,7 @@ dependencies = [ [[package]] name = "wit-bindgen-csharp" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "clap", @@ -1546,7 +1546,7 @@ dependencies = [ [[package]] name = "wit-bindgen-go" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "clap", @@ -1559,7 +1559,7 @@ dependencies = [ [[package]] name = "wit-bindgen-markdown" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "clap", @@ -1570,7 +1570,7 @@ dependencies = [ [[package]] name = "wit-bindgen-moonbit" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "clap", @@ -1580,7 +1580,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "bytes", @@ -1601,7 +1601,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust-macro" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "macro-string", @@ -1615,7 +1615,7 @@ dependencies = [ [[package]] name = "wit-bindgen-test" -version = "0.54.0" +version = "0.55.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index a78474297..7f98bea18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ resolver = "2" [workspace.package] edition = "2024" -version = "0.54.0" +version = "0.55.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" @@ -55,16 +55,16 @@ wit-parser = "0.246.1" wit-component = "0.246.1" wasm-compose = "0.246.1" -wit-bindgen-core = { path = 'crates/core', version = '0.54.0' } -wit-bindgen-c = { path = 'crates/c', version = '0.54.0' } -wit-bindgen-cpp = { path = 'crates/cpp', version = '0.54.0' } -wit-bindgen-rust = { path = "crates/rust", version = "0.54.0" } -wit-bindgen-csharp = { path = 'crates/csharp', version = '0.54.0' } -wit-bindgen-markdown = { path = 'crates/markdown', version = '0.54.0' } -wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.54.0' } -wit-bindgen-go = { path = 'crates/go', version = '0.54.0' } -wit-bindgen = { path = 'crates/guest-rust', version = '0.54.0', default-features = false } -wit-bindgen-test = { path = 'crates/test', version = '0.54.0' } +wit-bindgen-core = { path = 'crates/core', version = '0.55.0' } +wit-bindgen-c = { path = 'crates/c', version = '0.55.0' } +wit-bindgen-cpp = { path = 'crates/cpp', version = '0.55.0' } +wit-bindgen-rust = { path = "crates/rust", version = "0.55.0" } +wit-bindgen-csharp = { path = 'crates/csharp', version = '0.55.0' } +wit-bindgen-markdown = { path = 'crates/markdown', version = '0.55.0' } +wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.55.0' } +wit-bindgen-go = { path = 'crates/go', version = '0.55.0' } +wit-bindgen = { path = 'crates/guest-rust', version = '0.55.0', default-features = false } +wit-bindgen-test = { path = 'crates/test', version = '0.55.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 6296afbc1..8c1f81376 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.54.0" +version = "0.55.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 d7b7f80d1..e86f09ec4 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, default-features = false, version = "0.54.0" } +wit-bindgen-rust-macro = { path = "./macro", optional = true, default-features = false, version = "0.55.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 bf8f06e1c..c870416c6 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 c1ba15e7d..b3c9d4e37 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_54_0(void *ptr, size_t old_size, size_t align, size_t new_size); +extern void *cabi_realloc_wit_bindgen_0_55_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_54_0(ptr, old_size, align, new_size); + return cabi_realloc_wit_bindgen_0_55_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 751214c25..4f54ce842 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 c9fdd327f..04c0f6f85 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_54_0( +pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_55_0( old_ptr: *mut u8, old_len: usize, align: usize,