Implement on-demand memory initialization for the uffd feature.
This commit implements copying paged initialization data upon a fault of a linear memory page. If the initialization data is "paged", then the appropriate pages are copied into the Wasm page (or zeroed if the page is not present in the initialization data). If the initialization data is not "paged", the Wasm page is zeroed so that module instantiation can initialize the pages.
This commit is contained in:
@@ -25,7 +25,7 @@ wasmtime-debug = { path = "../debug", version = "0.24.0" }
|
||||
wasmtime-profiling = { path = "../profiling", version = "0.24.0" }
|
||||
wasmtime-obj = { path = "../obj", version = "0.24.0" }
|
||||
rayon = { version = "1.0", optional = true }
|
||||
region = "2.1.0"
|
||||
region = "2.2.0"
|
||||
thiserror = "1.0.4"
|
||||
target-lexicon = { version = "0.11.0", default-features = false }
|
||||
wasmparser = "0.76"
|
||||
|
||||
Reference in New Issue
Block a user