summaryrefslogtreecommitdiff
path: root/runtime/web_worker.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-02-27 08:05:57 -0700
committerGitHub <noreply@github.com>2024-02-27 08:05:57 -0700
commit47c2a63d872886ae1d0576f3cbf630151c8ff129 (patch)
tree85ba7273598467de211fab37c4cb6dcbd87fc889 /runtime/web_worker.rs
parentf1a691274e59d3f6a1aad19d1aec02a0ffaa51d2 (diff)
chore: bump deno_core (#22596)
Migrations: - snapshot code updated - runtime stats API tweaks
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r--runtime/web_worker.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index a69c384ab..97b855c56 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -37,7 +37,6 @@ use deno_core::OpMetricsSummaryTracker;
use deno_core::PollEventLoopOptions;
use deno_core::RuntimeOptions;
use deno_core::SharedArrayBufferStore;
-use deno_core::Snapshot;
use deno_core::SourceMapGetter;
use deno_cron::local::LocalCronHandler;
use deno_fs::FileSystem;
@@ -336,7 +335,7 @@ pub struct WebWorker {
pub struct WebWorkerOptions {
pub bootstrap: BootstrapOptions,
pub extensions: Vec<Extension>,
- pub startup_snapshot: Option<Snapshot>,
+ pub startup_snapshot: Option<&'static [u8]>,
pub unsafely_ignore_certificate_errors: Option<Vec<String>>,
pub root_cert_store_provider: Option<Arc<dyn RootCertStoreProvider>>,
pub seed: Option<u64>,