summaryrefslogtreecommitdiff
path: root/runtime/examples
diff options
context:
space:
mode:
authorMathias Lafeldt <mathias.lafeldt@gmail.com>2022-11-10 12:46:26 +0100
committerGitHub <noreply@github.com>2022-11-10 12:46:26 +0100
commit92764c0decb370b0f8a78770314ceda7228d315f (patch)
treef04ff23a216540f59364a698ba1a600d1b87b7dc /runtime/examples
parent7bd2c607dd5aba82f4afb94a5c2e35ba5f0738cf (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.rs1
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,