From 4e3ed37037a2aa1edeac260dc3463a81d9cf9b88 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Mon, 14 Mar 2022 09:08:54 +0530 Subject: chore: improve build times for `ext/` changes (#13927) --- ext/net/lib.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/net/lib.rs') diff --git a/ext/net/lib.rs b/ext/net/lib.rs index 15bf8a79a..c9b888a65 100644 --- a/ext/net/lib.rs +++ b/ext/net/lib.rs @@ -14,7 +14,6 @@ use deno_core::OpState; use deno_tls::rustls::RootCertStore; use std::cell::RefCell; use std::path::Path; -use std::path::PathBuf; use std::rc::Rc; pub trait NetPermissions { @@ -61,10 +60,6 @@ pub fn check_unstable2(state: &Rc>, api_name: &str) { state.borrow::().check_unstable(api_name) } -pub fn get_declaration() -> PathBuf { - PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("lib.deno_net.d.ts") -} - #[derive(Clone)] pub struct DefaultTlsOptions { pub root_cert_store: Option, -- cgit v1.2.3