diff options
Diffstat (limited to 'ext/node/global.rs')
-rw-r--r-- | ext/node/global.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/node/global.rs b/ext/node/global.rs index 0b4adfc7d..61bcc3343 100644 --- a/ext/node/global.rs +++ b/ext/node/global.rs @@ -52,7 +52,6 @@ const fn str_to_utf16<const N: usize>(s: &str) -> [u16; N] { // - clearImmediate (node only) // - clearInterval (both, but different implementation) // - clearTimeout (both, but different implementation) -// - console (both, but different implementation) // - global (node only) // - performance (both, but different implementation) // - process (node only) @@ -63,13 +62,12 @@ const fn str_to_utf16<const N: usize>(s: &str) -> [u16; N] { // UTF-16 encodings of the managed globals. THIS LIST MUST BE SORTED. #[rustfmt::skip] -const MANAGED_GLOBALS: [&[u16]; 14] = [ +const MANAGED_GLOBALS: [&[u16]; 13] = [ &str_to_utf16::<6>("Buffer"), &str_to_utf16::<17>("WorkerGlobalScope"), &str_to_utf16::<14>("clearImmediate"), &str_to_utf16::<13>("clearInterval"), &str_to_utf16::<12>("clearTimeout"), - &str_to_utf16::<7>("console"), &str_to_utf16::<6>("global"), &str_to_utf16::<11>("performance"), &str_to_utf16::<7>("process"), |