diff options
author | Satya Rohith <me@satyarohith.com> | 2022-09-28 17:41:12 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 17:41:12 +0530 |
commit | b312279e58e51520a38e51cca317a09cdadd7cb4 (patch) | |
tree | a0c6f432042ba25b569c151bbe59f1e721788d0c /cli/build.rs | |
parent | 1156f726a92d3d3985e591327c7526cd3e2b0473 (diff) |
feat: implement Web Cache API (#15829)
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/build.rs b/cli/build.rs index 1a4eaa425..df4cd5917 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -81,6 +81,7 @@ fn create_compiler_snapshot( ) { // libs that are being provided by op crates. let mut op_crate_libs = HashMap::new(); + op_crate_libs.insert("deno.cache", deno_cache::get_declaration()); op_crate_libs.insert("deno.console", deno_console::get_declaration()); op_crate_libs.insert("deno.url", deno_url::get_declaration()); op_crate_libs.insert("deno.web", deno_web::get_declaration()); @@ -373,6 +374,10 @@ fn main() { deno_webstorage::get_declaration().display() ); println!( + "cargo:rustc-env=DENO_CACHE_LIB_PATH={}", + deno_cache::get_declaration().display() + ); + println!( "cargo:rustc-env=DENO_CRYPTO_LIB_PATH={}", deno_crypto::get_declaration().display() ); |