A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Enable `call-hook` feature with MPK (#13962)
Alex Crichtond571a48cd0cf
diff --git a/crates/wasmtime/Cargo.toml b/crates/wasmtime/Cargo.tomlindex c3788854ae..2ee8eb451b 100644--- a/crates/wasmtime/Cargo.toml+++ b/crates/wasmtime/Cargo.toml@@ -340,7 +340,12 @@ call-hook = []# Enables support for "memory protection keys" which can be used in conjunction# with the pooling allocator on x64 to compact linear memory allocations.-memory-protection-keys = ["pooling-allocator"]+memory-protection-keys = [+ "pooling-allocator",+ # MPK currently relies on call-hooks to manage the PKRU register for the host,+ # so this is implicitly enabled when MPK is enabled.+ "call-hook",+]# Enables a re-export of wasmparser, so that an embedder of Wasmtime can use# exactly the version of the parser library that Wasmtime does. Sometimes this