Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release wit-bindgen 0.32.0 #1052

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resolver = "2"

[workspace.package]
edition = "2021"
version = "0.31.0"
version = "0.32.0"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
repository = "https://github.com/bytecodealliance/wasi-rs"

Expand All @@ -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.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 }
wit-bindgen-core = { path = 'crates/core', version = '0.32.0' }
wit-bindgen-c = { path = 'crates/c', version = '0.32.0' }
wit-bindgen-rust = { path = "crates/rust", version = "0.32.0" }
wit-bindgen-teavm-java = { path = 'crates/teavm-java', version = '0.32.0' }
wit-bindgen-go = { path = 'crates/go', version = '0.32.0' }
wit-bindgen-csharp = { path = 'crates/csharp', version = '0.32.0' }
wit-bindgen-markdown = { path = 'crates/markdown', version = '0.32.0' }
wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.32.0' }
wit-bindgen = { path = 'crates/guest-rust', version = '0.32.0', default-features = false }

[[bin]]
name = "wit-bindgen"
Expand Down
4 changes: 2 additions & 2 deletions crates/guest-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Used when compiling Rust programs to the component model.
"""

[dependencies]
wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.31.0" }
wit-bindgen-rt = { path = "./rt", version = "0.31.0", features = ["bitflags"] }
wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.32.0" }
wit-bindgen-rt = { path = "./rt", version = "0.32.0", features = ["bitflags"] }

[features]
default = ["macros", "realloc"]
Expand Down
4 changes: 2 additions & 2 deletions crates/guest-rust/rt/src/cabi_realloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#include <stdint.h>

extern void *cabi_realloc_wit_bindgen_0_31_0(void *ptr, size_t old_size, size_t align, size_t new_size);
extern void *cabi_realloc_wit_bindgen_0_32_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_31_0(ptr, old_size, align, new_size);
return cabi_realloc_wit_bindgen_0_32_0(ptr, old_size, align, new_size);
}
Binary file modified crates/guest-rust/rt/src/cabi_realloc.o
Binary file not shown.
2 changes: 1 addition & 1 deletion crates/guest-rust/rt/src/cabi_realloc.rs
Original file line number Diff line number Diff line change
@@ -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_31_0(
pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_32_0(
old_ptr: *mut u8,
old_len: usize,
align: usize,
Expand Down
Binary file modified crates/guest-rust/rt/src/libwit_bindgen_cabi_realloc.a
Binary file not shown.
Loading