diff options
author | Mathias Lafeldt <mathias.lafeldt@gmail.com> | 2022-11-10 12:46:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 12:46:26 +0100 |
commit | 92764c0decb370b0f8a78770314ceda7228d315f (patch) | |
tree | f04ff23a216540f59364a698ba1a600d1b87b7dc /runtime/examples | |
parent | 7bd2c607dd5aba82f4afb94a5c2e35ba5f0738cf (diff) |
feat(runtime): support creating workers with custom v8 snapshots (#16553)
This PR makes it possible for applications to create workers from custom
snapshots to improve runtime performance (without having to fork/copy
`runtime/workers.rs`).
Diffstat (limited to 'runtime/examples')
-rw-r--r-- | runtime/examples/hello_runtime.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/examples/hello_runtime.rs b/runtime/examples/hello_runtime.rs index 1f3610789..d71cc467a 100644 --- a/runtime/examples/hello_runtime.rs +++ b/runtime/examples/hello_runtime.rs @@ -43,6 +43,7 @@ async fn main() -> Result<(), AnyError> { inspect: false, }, extensions: vec![], + startup_snapshot: None, unsafely_ignore_certificate_errors: None, root_cert_store: None, seed: None, |