diff options
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/build.rs b/cli/build.rs index 116ce8167..ab2a7d0f7 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -8,6 +8,7 @@ use deno_core::serde_json::json; use deno_core::serde_json::Value; use deno_core::JsRuntime; use deno_core::RuntimeOptions; +use deno_runtime::deno_broadcast_channel; use deno_runtime::deno_console; use deno_runtime::deno_crypto; use deno_runtime::deno_fetch; @@ -74,6 +75,10 @@ fn create_compiler_snapshot( op_crate_libs.insert("deno.websocket", deno_websocket::get_declaration()); op_crate_libs.insert("deno.webstorage", deno_webstorage::get_declaration()); op_crate_libs.insert("deno.crypto", deno_crypto::get_declaration()); + op_crate_libs.insert( + "deno.broadcast_channel", + deno_broadcast_channel::get_declaration(), + ); // ensure we invalidate the build properly. for (_, path) in op_crate_libs.iter() { @@ -300,6 +305,10 @@ fn main() { "cargo:rustc-env=DENO_CRYPTO_LIB_PATH={}", deno_crypto::get_declaration().display() ); + println!( + "cargo:rustc-env=DENO_BROADCAST_CHANNEL_LIB_PATH={}", + deno_broadcast_channel::get_declaration().display() + ); println!("cargo:rustc-env=TARGET={}", env::var("TARGET").unwrap()); println!("cargo:rustc-env=PROFILE={}", env::var("PROFILE").unwrap()); |