Skip to content

Commit 6cba270

Browse files
authored
Bump to 37.0.0 (#294)
1 parent 2e21cf6 commit 6cba270

File tree

7 files changed

+55
-79
lines changed

7 files changed

+55
-79
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
36.0.0
1+
37.0.0

ci/download-wasmtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

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

1717

1818
def main(platform, arch):

rust/Cargo.lock

Lines changed: 40 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ crate-type = ['cdylib', 'rlib']
99
[dependencies]
1010
anyhow = "1.0"
1111
heck = { version = "0.4", features = ["unicode"] }
12-
wit-parser = "0.230.0"
13-
wit-component = "0.230.0"
12+
wit-parser = "0.239.0"
13+
wit-component = "0.239.0"
1414
indexmap = "2.0"
15-
wasmtime-environ = { version = "36.0.0", features = ['component-model', 'compile'] }
16-
wit-bindgen = "0.42.1"
17-
wit-bindgen-core = "0.42.1"
15+
wasmtime-environ = { version = "37.0.0", features = ['component-model', 'compile'] }
16+
wit-bindgen = "0.46.0"
17+
wit-bindgen-core = "0.46.0"
1818

1919

2020
[features]

rust/src/bindgen.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ impl WasmtimePy {
221221
Trampoline::WaitableSetNew { .. } => unimplemented!(),
222222
Trampoline::WaitableSetDrop { .. } => unimplemented!(),
223223
Trampoline::WaitableJoin { .. } => unimplemented!(),
224-
Trampoline::Yield { .. } => unimplemented!(),
224+
Trampoline::ThreadYield { .. } => unimplemented!(),
225225
Trampoline::SubtaskDrop { .. } => unimplemented!(),
226226
Trampoline::StreamNew { .. } => unimplemented!(),
227227
Trampoline::StreamRead { .. } => unimplemented!(),
@@ -250,6 +250,8 @@ impl WasmtimePy {
250250
Trampoline::AsyncStartCall { .. } => unimplemented!(),
251251
Trampoline::ContextGet(_) => unimplemented!(),
252252
Trampoline::ContextSet(_) => unimplemented!(),
253+
Trampoline::BackpressureInc { .. } => unimplemented!(),
254+
Trampoline::BackpressureDec { .. } => unimplemented!(),
253255
}
254256
}
255257

tests/test_refs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def test_dtor_global(self):
121121
g = Global(store, ty, Val.externref(SetHitOnDrop(obj)))
122122
assert(not obj['hit'])
123123
g.set_value(store, None)
124+
store.gc()
124125
assert(obj['hit'])
125126

126127
def test_dtor_func(self):

wasmtime/_bindings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2811,10 +2811,12 @@ class wasmtime_anyref(Structure):
28112811
("store_id", c_uint64),
28122812
("__private1", c_uint32),
28132813
("__private2", c_uint32),
2814+
("__private3", c_void_p),
28142815
]
28152816
store_id: int
28162817
__private1: int
28172818
__private2: int
2819+
__private3: ctypes._Pointer
28182820

28192821
wasmtime_anyref_t = wasmtime_anyref
28202822

@@ -2865,10 +2867,12 @@ class wasmtime_externref(Structure):
28652867
("store_id", c_uint64),
28662868
("__private1", c_uint32),
28672869
("__private2", c_uint32),
2870+
("__private3", c_void_p),
28682871
]
28692872
store_id: int
28702873
__private1: int
28712874
__private2: int
2875+
__private3: ctypes._Pointer
28722876

28732877
wasmtime_externref_t = wasmtime_externref
28742878

0 commit comments

Comments
 (0)