From fee6f793302394f87ea2958088d14c44b66edae1 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 1 Sep 2020 13:55:40 -0400 Subject: Remove unused crate_modules feature (#7311) --- core/modules.rs | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'core/modules.rs') diff --git a/core/modules.rs b/core/modules.rs index 7ff9634d4..516440bc0 100644 --- a/core/modules.rs +++ b/core/modules.rs @@ -516,26 +516,6 @@ impl fmt::Display for Deps { } } -#[macro_export] -macro_rules! crate_modules { - () => { - pub const DENO_CRATE_PATH: &'static str = env!("CARGO_MANIFEST_DIR"); - }; -} - -#[macro_export] -macro_rules! include_crate_modules { - ( $( $x:ident ),* ) => { - { - let mut temp: HashMap = HashMap::new(); - $( - temp.insert(stringify!($x).to_string(), $x::DENO_CRATE_PATH.to_string()); - )* - temp - } - }; -} - #[cfg(test)] mod tests { use super::*; -- cgit v1.2.3