Skip to content
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
26 changes: 13 additions & 13 deletions Cargo.lock

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

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

[workspace.package]
edition = "2024"
version = "0.60.0"
version = "0.61.0"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
repository = "https://github.com/bytecodealliance/wit-bindgen"
rust-version = "1.88.0"
Expand All @@ -56,17 +56,17 @@ wit-parser = "0.257.0"
wit-component = "0.257.0"
wasm-compose = "0.257.0"

wit-bindgen-core = { path = 'crates/core', version = '0.60.0' }
wit-bindgen-c = { path = 'crates/c', version = '0.60.0' }
wit-bindgen-cpp = { path = 'crates/cpp', version = '0.60.0' }
wit-bindgen-rust = { path = "crates/rust", version = "0.60.0" }
wit-bindgen-csharp = { path = 'crates/csharp', version = '0.60.0' }
wit-bindgen-markdown = { path = 'crates/markdown', version = '0.60.0' }
wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.60.0' }
wit-bindgen-go = { path = 'crates/go', version = '0.60.0' }
wit-bindgen-d = { path = 'crates/d', version = '0.60.0' }
wit-bindgen = { path = 'crates/guest-rust', version = '0.60.0', default-features = false }
wit-bindgen-test = { path = 'crates/test', version = '0.60.0' }
wit-bindgen-core = { path = 'crates/core', version = '0.61.0' }
wit-bindgen-c = { path = 'crates/c', version = '0.61.0' }
wit-bindgen-cpp = { path = 'crates/cpp', version = '0.61.0' }
wit-bindgen-rust = { path = "crates/rust", version = "0.61.0" }
wit-bindgen-csharp = { path = 'crates/csharp', version = '0.61.0' }
wit-bindgen-markdown = { path = 'crates/markdown', version = '0.61.0' }
wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.61.0' }
wit-bindgen-go = { path = 'crates/go', version = '0.61.0' }
wit-bindgen-d = { path = 'crates/d', version = '0.61.0' }
wit-bindgen = { path = 'crates/guest-rust', version = '0.61.0', default-features = false }
wit-bindgen-test = { path = 'crates/test', version = '0.61.0' }

[workspace.lints.clippy]
# The default set of lints in Clippy is viewed as "too noisy" right now so
Expand Down
2 changes: 1 addition & 1 deletion crates/cpp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "wit-bindgen-cpp"
authors = ["Christof Petig <christof.petig@arcor.de>"]
version = "0.60.0"
version = "0.61.0"
edition.workspace = true
rust-version.workspace = true
repository = 'https://github.com/cpetig/wit-bindgen'
Expand Down
2 changes: 1 addition & 1 deletion crates/guest-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ workspace = true
all-features = true

[dependencies]
wit-bindgen-rust-macro = { path = "./macro", optional = true, default-features = false, version = "0.60.0" }
wit-bindgen-rust-macro = { path = "./macro", optional = true, default-features = false, version = "0.61.0" }
bitflags = { workspace = true, optional = true }
futures = { version = "0.3.30", optional = true, default-features = false, features = ["alloc"] }

Expand Down
4 changes: 2 additions & 2 deletions crates/guest-rust/src/rt/async_support/wasip3_context.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// This file is generated by ./ci/rebuild-libwit-bindgen-cabi.sh

unsafe extern "C" {
#[link_name = "wit_bindgen_0_60_0_get_task_context"]
#[link_name = "wit_bindgen_0_61_0_get_task_context"]
pub fn get() -> *mut u8;
#[link_name = "wit_bindgen_0_60_0_set_task_context"]
#[link_name = "wit_bindgen_0_61_0_set_task_context"]
pub fn set(ptr: *mut u8);
}
Binary file modified crates/guest-rust/src/rt/libwit_bindgen_cabi_realloc.a
Binary file not shown.
Binary file modified crates/guest-rust/src/rt/libwit_bindgen_cabi_wasip3.a
Binary file not shown.
4 changes: 2 additions & 2 deletions crates/guest-rust/src/rt/wit_bindgen_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_60_0(void *ptr, size_t old_size, size_t align, size_t new_size);
extern void *cabi_realloc_wit_bindgen_0_61_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_60_0(ptr, old_size, align, new_size);
return cabi_realloc_wit_bindgen_0_61_0(ptr, old_size, align, new_size);
}
Binary file modified crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.o
Binary file not shown.
2 changes: 1 addition & 1 deletion crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.rs
Original file line number Diff line number Diff line change
@@ -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_60_0(
pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_61_0(
old_ptr: *mut u8,
old_len: usize,
align: usize,
Expand Down
4 changes: 2 additions & 2 deletions crates/guest-rust/src/rt/wit_bindgen_cabi_wasip3.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ void *wasip3_task_set(void *ptr) {

static _Thread_local void *task_context = NULL;

void *wit_bindgen_0_60_0_get_task_context(void) {
void *wit_bindgen_0_61_0_get_task_context(void) {
return task_context;
}

void wit_bindgen_0_60_0_set_task_context(void *ptr) {
void wit_bindgen_0_61_0_set_task_context(void *ptr) {
task_context = ptr;
}
Binary file modified crates/guest-rust/src/rt/wit_bindgen_cabi_wasip3.o
Binary file not shown.
Loading