summaryrefslogtreecommitdiff
path: root/runtime/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/build.rs')
-rw-r--r--runtime/build.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/build.rs b/runtime/build.rs
index bd141d297..334c3b11a 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -122,6 +122,13 @@ mod startup_snapshot {
}
impl deno_node::NodePermissions for Permissions {
+ fn check_net_url(
+ &mut self,
+ _url: &deno_core::url::Url,
+ _api_name: &str,
+ ) -> Result<(), deno_core::error::AnyError> {
+ unreachable!("snapshotting!")
+ }
fn check_read(&self, _p: &Path) -> Result<(), deno_core::error::AnyError> {
unreachable!("snapshotting!")
}