diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-04-03 19:01:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 19:01:02 +0200 |
commit | 51d3fb78ad2453e649d01bcc833ecfec1a05d685 (patch) | |
tree | a093cd2ad4faf1cb1fc069de8c406aeef69e1b5a /runtime/build.rs | |
parent | 2846bbe0a3de0cc366006f97023ce146112c40c9 (diff) |
refactor: remove "ext/flash" (#18578)
With https://github.com/denoland/deno/pull/18568 landed we no longer
need "ext/flash".
This commit removes "deno_flash" extension completely.
This should have some impact on the binary and snapshot size.
Closes https://github.com/denoland/deno/issues/17356
Diffstat (limited to 'runtime/build.rs')
-rw-r--r-- | runtime/build.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/runtime/build.rs b/runtime/build.rs index abdd0e584..809e32a76 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -120,16 +120,6 @@ mod startup_snapshot { } } - impl deno_flash::FlashPermissions for Permissions { - fn check_net<T: AsRef<str>>( - &mut self, - _host: &(T, Option<u16>), - _api_name: &str, - ) -> Result<(), deno_core::error::AnyError> { - unreachable!("snapshotting!") - } - } - impl deno_node::NodePermissions for Permissions { fn check_read( &mut self, @@ -244,7 +234,6 @@ mod startup_snapshot { deno_net, deno_napi, deno_http, - deno_flash, deno_io, deno_fs ], @@ -322,7 +311,6 @@ mod startup_snapshot { deno_http::deno_http::init_ops_and_esm(), deno_io::deno_io::init_ops_and_esm(Default::default()), deno_fs::deno_fs::init_ops_and_esm::<Permissions>(false), - deno_flash::deno_flash::init_ops_and_esm::<Permissions>(false), // No --unstable runtime::init_ops_and_esm(), // FIXME(bartlomieju): these extensions are specified last, because they // depend on `runtime`, even though it should be other way around |