diff options
Diffstat (limited to 'runtime/build.rs')
-rw-r--r-- | runtime/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/build.rs b/runtime/build.rs index e1cae7195..d228fffd6 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -52,6 +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::InMemoryBroadcastChannel::default(), + false, // No --unstable. + ), ]; let js_runtime = JsRuntime::new(RuntimeOptions { |