Skip to content

Commit b58d3f6

Browse files
committed
runtime: Support calling host exports in globals
1 parent 5b02079 commit b58d3f6

File tree

3 files changed

+178
-132
lines changed

3 files changed

+178
-132
lines changed

Cargo.lock

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

runtime/wasm/Cargo.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,14 @@ bytes = "0.5"
2525
# See also 92cd8019-0136-4011-96a0-40b3eec37f73
2626
maybe-owned = { git = "https://github.com/rustonaut/maybe-owned", branch = "master" }
2727

28-
# Use a released version once 0.18 is released.
29-
wasmtime = { git = "https://github.com/bytecodealliance/wasmtime" }
28+
# We need patch in order to be able to call host exports when initializing globals.
29+
#
30+
# By this conversation, wasmtime does not want to upstream this, pointing out that there is an
31+
# incompatibility between the way AS does things and the direction wasmtime wants to take:
32+
# https://bytecodealliance.zulipchat.com/#narrow/stream/206238-general/topic/Host.20functions.20in.20start
33+
#
34+
# See also 3a23f045-eb9d-4b12-8c7c-3a4c2e34bea1
35+
wasmtime = { git = "https://github.com/graphprotocol/wasmtime", branch = "master" }
3036

3137
defer = "0.1"
3238

0 commit comments

Comments
 (0)