From e103334cd1eef38b4ae9800dd6f09b4a8aec6e9d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 20:11:06 +0000 Subject: [PATCH] Release wit-bindgen 0.28.0 (#1004) [automatically-tag-and-release-this-commit] Co-authored-by: Auto Release Process --- 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 bc3ce9fb3..9bf4a6328 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2341,7 +2341,7 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.27.0" +version = "0.28.0" dependencies = [ "wit-bindgen-rt", "wit-bindgen-rust-macro", @@ -2349,7 +2349,7 @@ dependencies = [ [[package]] name = "wit-bindgen-c" -version = "0.27.0" +version = "0.28.0" dependencies = [ "anyhow", "clap", @@ -2364,7 +2364,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cli" -version = "0.27.0" +version = "0.28.0" dependencies = [ "anyhow", "clap", @@ -2387,7 +2387,7 @@ dependencies = [ [[package]] name = "wit-bindgen-core" -version = "0.27.0" +version = "0.28.0" dependencies = [ "anyhow", "heck 0.5.0", @@ -2396,7 +2396,7 @@ dependencies = [ [[package]] name = "wit-bindgen-csharp" -version = "0.27.0" +version = "0.28.0" dependencies = [ "anyhow", "clap", @@ -2413,7 +2413,7 @@ dependencies = [ [[package]] name = "wit-bindgen-go" -version = "0.27.0" +version = "0.28.0" dependencies = [ "anyhow", "clap", @@ -2425,7 +2425,7 @@ dependencies = [ [[package]] name = "wit-bindgen-markdown" -version = "0.27.0" +version = "0.28.0" dependencies = [ "anyhow", "clap", @@ -2437,14 +2437,14 @@ dependencies = [ [[package]] name = "wit-bindgen-rt" -version = "0.27.0" +version = "0.28.0" dependencies = [ "bitflags", ] [[package]] name = "wit-bindgen-rust" -version = "0.27.0" +version = "0.28.0" dependencies = [ "anyhow", "clap", @@ -2463,7 +2463,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust-macro" -version = "0.27.0" +version = "0.28.0" dependencies = [ "anyhow", "prettyplease", @@ -2476,7 +2476,7 @@ dependencies = [ [[package]] name = "wit-bindgen-teavm-java" -version = "0.27.0" +version = "0.28.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index e76d313c3..87abd95f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ resolver = "2" [workspace.package] edition = "2021" -version = "0.27.0" +version = "0.28.0" license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/bytecodealliance/wasi-rs" @@ -38,14 +38,14 @@ wasm-metadata = "0.214.0" wit-parser = "0.214.0" wit-component = "0.214.0" -wit-bindgen-core = { path = 'crates/core', version = '0.27.0' } -wit-bindgen-c = { path = 'crates/c', version = '0.27.0' } -wit-bindgen-rust = { path = "crates/rust", version = "0.27.0" } -wit-bindgen-teavm-java = { path = 'crates/teavm-java', version = '0.27.0' } -wit-bindgen-go = { path = 'crates/go', version = '0.27.0' } -wit-bindgen-csharp = { path = 'crates/csharp', version = '0.27.0' } -wit-bindgen-markdown = { path = 'crates/markdown', version = '0.27.0' } -wit-bindgen = { path = 'crates/guest-rust', version = '0.27.0', default-features = false } +wit-bindgen-core = { path = 'crates/core', version = '0.28.0' } +wit-bindgen-c = { path = 'crates/c', version = '0.28.0' } +wit-bindgen-rust = { path = "crates/rust", version = "0.28.0" } +wit-bindgen-teavm-java = { path = 'crates/teavm-java', version = '0.28.0' } +wit-bindgen-go = { path = 'crates/go', version = '0.28.0' } +wit-bindgen-csharp = { path = 'crates/csharp', version = '0.28.0' } +wit-bindgen-markdown = { path = 'crates/markdown', version = '0.28.0' } +wit-bindgen = { path = 'crates/guest-rust', version = '0.28.0', default-features = false } [[bin]] name = "wit-bindgen" diff --git a/crates/guest-rust/Cargo.toml b/crates/guest-rust/Cargo.toml index bc931b927..43f2be1e7 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.27.0" } -wit-bindgen-rt = { path = "./rt", version = "0.27.0", features = ["bitflags"] } +wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.28.0" } +wit-bindgen-rt = { path = "./rt", version = "0.28.0", features = ["bitflags"] } [features] default = ["macros", "realloc"] diff --git a/crates/guest-rust/rt/src/cabi_realloc.c b/crates/guest-rust/rt/src/cabi_realloc.c index f8b01a055..3687f341d 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_27_0(void *ptr, size_t old_size, size_t align, size_t new_size); +extern void *cabi_realloc_wit_bindgen_0_28_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_27_0(ptr, old_size, align, new_size); + return cabi_realloc_wit_bindgen_0_28_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 441ee2bdfd57404b64eb12fc614b984623659658..cdb99a32bf4341f9dfe598773e15b320ac99e8c1 100644 GIT binary patch delta 11 ScmZo=YGs<>$7nIpe;WW4Lj$}3 delta 11 ScmZo=YGs<>$7nv$e;WW4KLfh} diff --git a/crates/guest-rust/rt/src/cabi_realloc.rs b/crates/guest-rust/rt/src/cabi_realloc.rs index 8d8959725..90af32344 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_27_0( +pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_28_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 0a890727ba6e747aa60a0d72c65b9930f0e2381d..aa8111db9ab7935179377ef6f30dec7ded23c5a2 100644 GIT binary patch delta 11 TcmbQkJcoJ06Gn@PPqzaA8qx(B delta 11 TcmbQkJcoJ06GroiPqzaA8qNh6