summaryrefslogtreecommitdiff
path: root/runtime/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/build.rs')
-rw-r--r--runtime/build.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/build.rs b/runtime/build.rs
index 4fe89af3e..d228fffd6 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -52,7 +52,10 @@ fn create_runtime_snapshot(snapshot_path: &Path, files: Vec<PathBuf>) {
deno_crypto::init(None),
deno_webgpu::init(false),
deno_timers::init::<deno_timers::NoTimersPermission>(),
- deno_broadcast_channel::init(),
+ deno_broadcast_channel::init(
+ deno_broadcast_channel::InMemoryBroadcastChannel::default(),
+ false, // No --unstable.
+ ),
];
let js_runtime = JsRuntime::new(RuntimeOptions {