From e1537f9a62755d3b30293cf75322745e65624531 Mon Sep 17 00:00:00 2001 From: Auto Release Process Date: Fri, 8 Mar 2024 19:41:37 +0000 Subject: [PATCH] Release wit-bindgen 0.22.0 [automatically-tag-and-release-this-commit] --- Cargo.lock | 22 +++++++++--------- Cargo.toml | 18 +++++++------- crates/guest-rust/Cargo.toml | 4 ++-- crates/guest-rust/rt/src/cabi_realloc.c | 4 ++-- crates/guest-rust/rt/src/cabi_realloc.o | Bin 261 -> 261 bytes crates/guest-rust/rt/src/cabi_realloc.rs | 2 +- .../rt/src/libwit_bindgen_cabi_realloc.a | Bin 412 -> 412 bytes 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4926ecfa1..c161bb3e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2356,7 +2356,7 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.21.0" +version = "0.22.0" dependencies = [ "bitflags 2.4.2", "wit-bindgen-rt", @@ -2365,7 +2365,7 @@ dependencies = [ [[package]] name = "wit-bindgen-c" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "clap", @@ -2380,7 +2380,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cli" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "clap", @@ -2403,7 +2403,7 @@ dependencies = [ [[package]] name = "wit-bindgen-core" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "wit-parser 0.201.0", @@ -2411,7 +2411,7 @@ dependencies = [ [[package]] name = "wit-bindgen-csharp" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "clap", @@ -2426,7 +2426,7 @@ dependencies = [ [[package]] name = "wit-bindgen-go" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "clap", @@ -2438,7 +2438,7 @@ dependencies = [ [[package]] name = "wit-bindgen-markdown" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "clap", @@ -2450,11 +2450,11 @@ dependencies = [ [[package]] name = "wit-bindgen-rt" -version = "0.21.0" +version = "0.22.0" [[package]] name = "wit-bindgen-rust" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "clap", @@ -2471,7 +2471,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust-macro" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "proc-macro2", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "wit-bindgen-teavm-java" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index b46526667..d16c03ae8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ resolver = "2" [workspace.package] edition = "2021" -version = "0.21.0" +version = "0.22.0" [workspace.dependencies] anyhow = "1.0.72" @@ -35,14 +35,14 @@ wasm-metadata = "0.201.0" wit-parser = "0.201.0" wit-component = "0.201.0" -wit-bindgen-core = { path = 'crates/core', version = '0.21.0' } -wit-bindgen-c = { path = 'crates/c', version = '0.21.0' } -wit-bindgen-rust = { path = "crates/rust", version = "0.21.0" } -wit-bindgen-teavm-java = { path = 'crates/teavm-java', version = '0.21.0' } -wit-bindgen-go = { path = 'crates/go', version = '0.21.0' } -wit-bindgen-csharp = { path = 'crates/csharp', version = '0.21.0' } -wit-bindgen-markdown = { path = 'crates/markdown', version = '0.21.0' } -wit-bindgen = { path = 'crates/guest-rust', version = '0.21.0', default-features = false } +wit-bindgen-core = { path = 'crates/core', version = '0.22.0' } +wit-bindgen-c = { path = 'crates/c', version = '0.22.0' } +wit-bindgen-rust = { path = "crates/rust", version = "0.22.0" } +wit-bindgen-teavm-java = { path = 'crates/teavm-java', version = '0.22.0' } +wit-bindgen-go = { path = 'crates/go', version = '0.22.0' } +wit-bindgen-csharp = { path = 'crates/csharp', version = '0.22.0' } +wit-bindgen-markdown = { path = 'crates/markdown', version = '0.22.0' } +wit-bindgen = { path = 'crates/guest-rust', version = '0.22.0', default-features = false } [[bin]] name = "wit-bindgen" diff --git a/crates/guest-rust/Cargo.toml b/crates/guest-rust/Cargo.toml index 57baddc76..3441bba6f 100644 --- a/crates/guest-rust/Cargo.toml +++ b/crates/guest-rust/Cargo.toml @@ -12,8 +12,8 @@ Used when compiling Rust programs to the component model. """ [dependencies] -wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.21.0" } -wit-bindgen-rt = { path = "./rt", optional = true, version = "0.21.0" } +wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.22.0" } +wit-bindgen-rt = { path = "./rt", optional = true, version = "0.22.0" } bitflags = { workspace = true } [features] diff --git a/crates/guest-rust/rt/src/cabi_realloc.c b/crates/guest-rust/rt/src/cabi_realloc.c index 4c566e5b4..15fe7fcf0 100644 --- a/crates/guest-rust/rt/src/cabi_realloc.c +++ b/crates/guest-rust/rt/src/cabi_realloc.c @@ -2,9 +2,9 @@ #include -extern void *cabi_realloc_wit_bindgen_0_21_0(void *ptr, size_t old_size, size_t align, size_t new_size); +extern void *cabi_realloc_wit_bindgen_0_22_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_21_0(ptr, old_size, align, new_size); + return cabi_realloc_wit_bindgen_0_22_0(ptr, old_size, align, new_size); } diff --git a/crates/guest-rust/rt/src/cabi_realloc.o b/crates/guest-rust/rt/src/cabi_realloc.o index 34c267f112bc660a19f28245632dc51fb33dba7c..31388b7d104deacac7722c260e681eda76a9a19b 100644 GIT binary patch delta 11 ScmZo=YGs<>$7nRse;WW4D+9Iw delta 11 ScmZo=YGs<>$7ndwe;WW4Cj+$r diff --git a/crates/guest-rust/rt/src/cabi_realloc.rs b/crates/guest-rust/rt/src/cabi_realloc.rs index b30b4cd0c..82c607d5d 100644 --- a/crates/guest-rust/rt/src/cabi_realloc.rs +++ b/crates/guest-rust/rt/src/cabi_realloc.rs @@ -1,7 +1,7 @@ // This file is generated by ./ci/rebuild-libcabi-realloc.sh #[no_mangle] -pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_21_0( +pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_22_0( old_ptr: *mut u8, old_len: usize, align: usize, diff --git a/crates/guest-rust/rt/src/libwit_bindgen_cabi_realloc.a b/crates/guest-rust/rt/src/libwit_bindgen_cabi_realloc.a index d6c8eb09e8e48db2e644c74e9bde5cbd2ee73854..ed1ede959f32ef53f802c68a65978afe396e004e 100644 GIT binary patch delta 11 TcmbQkJcoJ06Go$nPqzaA8oC7& delta 11 TcmbQkJcoJ06Gp>{PqzaA8ny)z