From b09f234081f5e185b27067af07beda2f9f04e6c4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 11:15:56 -0500 Subject: [PATCH] Release wit-bindgen 0.31.0 (#1049) [automatically-tag-and-release-this-commit] Co-authored-by: Auto Release Process --- Cargo.lock | 24 +++++++++--------- Cargo.toml | 20 +++++++-------- 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 crates/moonbit/Cargo.toml | 2 +- 8 files changed, 28 insertions(+), 28 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dfb630ce3..ef6af47f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2299,7 +2299,7 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.30.0" +version = "0.31.0" dependencies = [ "wit-bindgen-rt", "wit-bindgen-rust-macro", @@ -2307,7 +2307,7 @@ dependencies = [ [[package]] name = "wit-bindgen-c" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "clap", @@ -2322,7 +2322,7 @@ dependencies = [ [[package]] name = "wit-bindgen-cli" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "clap", @@ -2346,7 +2346,7 @@ dependencies = [ [[package]] name = "wit-bindgen-core" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "heck 0.5.0", @@ -2355,7 +2355,7 @@ dependencies = [ [[package]] name = "wit-bindgen-csharp" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "clap", @@ -2372,7 +2372,7 @@ dependencies = [ [[package]] name = "wit-bindgen-go" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "clap", @@ -2384,7 +2384,7 @@ dependencies = [ [[package]] name = "wit-bindgen-markdown" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "clap", @@ -2396,7 +2396,7 @@ dependencies = [ [[package]] name = "wit-bindgen-moonbit" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "clap", @@ -2409,14 +2409,14 @@ dependencies = [ [[package]] name = "wit-bindgen-rt" -version = "0.30.0" +version = "0.31.0" dependencies = [ "bitflags", ] [[package]] name = "wit-bindgen-rust" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "clap", @@ -2435,7 +2435,7 @@ dependencies = [ [[package]] name = "wit-bindgen-rust-macro" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "prettyplease", @@ -2448,7 +2448,7 @@ dependencies = [ [[package]] name = "wit-bindgen-teavm-java" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index d0074e2a1..d0183da94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ resolver = "2" [workspace.package] edition = "2021" -version = "0.30.0" +version = "0.31.0" license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/bytecodealliance/wasi-rs" @@ -38,15 +38,15 @@ wasm-metadata = "0.216.0" wit-parser = "0.216.0" wit-component = "0.216.0" -wit-bindgen-core = { path = 'crates/core', version = '0.30.0' } -wit-bindgen-c = { path = 'crates/c', version = '0.30.0' } -wit-bindgen-rust = { path = "crates/rust", version = "0.30.0" } -wit-bindgen-teavm-java = { path = 'crates/teavm-java', version = '0.30.0' } -wit-bindgen-go = { path = 'crates/go', version = '0.30.0' } -wit-bindgen-csharp = { path = 'crates/csharp', version = '0.30.0' } -wit-bindgen-markdown = { path = 'crates/markdown', version = '0.30.0' } -wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.30.0' } -wit-bindgen = { path = 'crates/guest-rust', version = '0.30.0', default-features = false } +wit-bindgen-core = { path = 'crates/core', version = '0.31.0' } +wit-bindgen-c = { path = 'crates/c', version = '0.31.0' } +wit-bindgen-rust = { path = "crates/rust", version = "0.31.0" } +wit-bindgen-teavm-java = { path = 'crates/teavm-java', version = '0.31.0' } +wit-bindgen-go = { path = 'crates/go', version = '0.31.0' } +wit-bindgen-csharp = { path = 'crates/csharp', version = '0.31.0' } +wit-bindgen-markdown = { path = 'crates/markdown', version = '0.31.0' } +wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.31.0' } +wit-bindgen = { path = 'crates/guest-rust', version = '0.31.0', default-features = false } [[bin]] name = "wit-bindgen" diff --git a/crates/guest-rust/Cargo.toml b/crates/guest-rust/Cargo.toml index d24fc4000..03931b78c 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.30.0" } -wit-bindgen-rt = { path = "./rt", version = "0.30.0", features = ["bitflags"] } +wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.31.0" } +wit-bindgen-rt = { path = "./rt", version = "0.31.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 f452b3619..4a3b3e076 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_30_0(void *ptr, size_t old_size, size_t align, size_t new_size); +extern void *cabi_realloc_wit_bindgen_0_31_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_30_0(ptr, old_size, align, new_size); + return cabi_realloc_wit_bindgen_0_31_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 a649d0c9699f232d002f8d1fdd5c8fd469dbeb4b..81409062ee4f6ba2d5b5a734f0a3c1c9b3b953db 100644 GIT binary patch delta 11 ScmZo=YGs<>$7ndwe;WW4Cj+$r delta 11 ScmZo=YGs<>$7nFoe;WW4BLlPm diff --git a/crates/guest-rust/rt/src/cabi_realloc.rs b/crates/guest-rust/rt/src/cabi_realloc.rs index 6a1fb8fe5..fc8518ab5 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_30_0( +pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_31_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 411378115d73883d9b24eca4d4fa8bf46f5f03b4..00f97a0a55df17426b6409ef19dae1e10e135f12 100644 GIT binary patch delta 11 TcmbQkJcoJ06Gp>{PqzaA8ny)z delta 11 TcmbQkJcoJ06GnrHPqzaA8nOiu diff --git a/crates/moonbit/Cargo.toml b/crates/moonbit/Cargo.toml index 734677316..119761cfb 100644 --- a/crates/moonbit/Cargo.toml +++ b/crates/moonbit/Cargo.toml @@ -20,4 +20,4 @@ heck = { workspace = true } clap = { workspace = true, optional = true } [dev-dependencies] -test-helpers = { path = '../test-helpers' } \ No newline at end of file +test-helpers = { path = '../test-helpers' }