From 1d18b65edcc4398c7badcf4ad0a367cb1e585a68 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Mon, 19 Dec 2022 03:55:50 +0100 Subject: fix(runtime): expose `extensions_with_js` from WorkerOptions (#17109) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- core/runtime.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core') diff --git a/core/runtime.rs b/core/runtime.rs index a95ca0ca6..498441a6d 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -258,14 +258,10 @@ pub struct RuntimeOptions { pub extensions_with_js: Vec, /// V8 snapshot that should be loaded on startup. - /// - /// Currently can't be used with `will_snapshot`. pub startup_snapshot: Option, /// Prepare runtime to take snapshot of loaded code. /// The snapshot is determinstic and uses predictable random numbers. - /// - /// Currently can't be used with `startup_snapshot`. pub will_snapshot: bool, /// Isolate creation parameters. -- cgit v1.2.3