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
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
36.0.0
37.0.0
2 changes: 1 addition & 1 deletion ci/download-wasmtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# set to "dev" to download the latest or pick a tag from
# https://github.com/bytecodealliance/wasmtime/tags
WASMTIME_VERSION = "v36.0.0"
WASMTIME_VERSION = "v37.0.2"


def main(platform, arch):
Expand Down
111 changes: 40 additions & 71 deletions rust/Cargo.lock

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

10 changes: 5 additions & 5 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ crate-type = ['cdylib', 'rlib']
[dependencies]
anyhow = "1.0"
heck = { version = "0.4", features = ["unicode"] }
wit-parser = "0.230.0"
wit-component = "0.230.0"
wit-parser = "0.239.0"
wit-component = "0.239.0"
indexmap = "2.0"
wasmtime-environ = { version = "36.0.0", features = ['component-model', 'compile'] }
wit-bindgen = "0.42.1"
wit-bindgen-core = "0.42.1"
wasmtime-environ = { version = "37.0.0", features = ['component-model', 'compile'] }
wit-bindgen = "0.46.0"
wit-bindgen-core = "0.46.0"


[features]
Expand Down
4 changes: 3 additions & 1 deletion rust/src/bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ impl WasmtimePy {
Trampoline::WaitableSetNew { .. } => unimplemented!(),
Trampoline::WaitableSetDrop { .. } => unimplemented!(),
Trampoline::WaitableJoin { .. } => unimplemented!(),
Trampoline::Yield { .. } => unimplemented!(),
Trampoline::ThreadYield { .. } => unimplemented!(),
Trampoline::SubtaskDrop { .. } => unimplemented!(),
Trampoline::StreamNew { .. } => unimplemented!(),
Trampoline::StreamRead { .. } => unimplemented!(),
Expand Down Expand Up @@ -250,6 +250,8 @@ impl WasmtimePy {
Trampoline::AsyncStartCall { .. } => unimplemented!(),
Trampoline::ContextGet(_) => unimplemented!(),
Trampoline::ContextSet(_) => unimplemented!(),
Trampoline::BackpressureInc { .. } => unimplemented!(),
Trampoline::BackpressureDec { .. } => unimplemented!(),
}
}

Expand Down
1 change: 1 addition & 0 deletions tests/test_refs.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def test_dtor_global(self):
g = Global(store, ty, Val.externref(SetHitOnDrop(obj)))
assert(not obj['hit'])
g.set_value(store, None)
store.gc()
assert(obj['hit'])

def test_dtor_func(self):
Expand Down
4 changes: 4 additions & 0 deletions wasmtime/_bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2811,10 +2811,12 @@ class wasmtime_anyref(Structure):
("store_id", c_uint64),
("__private1", c_uint32),
("__private2", c_uint32),
("__private3", c_void_p),
]
store_id: int
__private1: int
__private2: int
__private3: ctypes._Pointer

wasmtime_anyref_t = wasmtime_anyref

Expand Down Expand Up @@ -2865,10 +2867,12 @@ class wasmtime_externref(Structure):
("store_id", c_uint64),
("__private1", c_uint32),
("__private2", c_uint32),
("__private3", c_void_p),
]
store_id: int
__private1: int
__private2: int
__private3: ctypes._Pointer

wasmtime_externref_t = wasmtime_externref

Expand Down