mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix: managed globals length
This commit is contained in:
parent
2a8db23fd8
commit
7946daaabc
1 changed files with 1 additions and 2 deletions
|
@ -61,13 +61,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]; 12] = [
|
||||
const MANAGED_GLOBALS: [&[u16]; 11] = [
|
||||
&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::<6>("global"),
|
||||
&str_to_utf16::<11>("performance"),
|
||||
&str_to_utf16::<4>("self"),
|
||||
&str_to_utf16::<12>("setImmediate"),
|
||||
|
|
Loading…
Reference in a new issue