summaryrefslogtreecommitdiff
path: root/runtime/build.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-05-27 15:42:20 +0200
committerGitHub <noreply@github.com>2023-05-27 15:42:20 +0200
commitbe59e93220e24a2e66ae2843a136e61eab9d8ac3 (patch)
tree9c49d56516d1f126234d4e11e276750c6028b42a /runtime/build.rs
parentd0c5ff42f4b5fa9b848e6ed5af2e480d12f15bda (diff)
refactor(node/http): don't use readablestream for writing to request (#19282)
Refactors the internal usage of a readablestream to write to the resource directly --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
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!")
}