From d67f319826e760c728b36a1432fc7fd5ac320461 Mon Sep 17 00:00:00 2001 From: jedel1043 Date: Mon, 25 Sep 2023 10:30:15 -0600 Subject: [PATCH] Fix wasm build --- boa_engine/src/builtins/string/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boa_engine/src/builtins/string/mod.rs b/boa_engine/src/builtins/string/mod.rs index e60964d4b42..1d21b32f535 100644 --- a/boa_engine/src/builtins/string/mod.rs +++ b/boa_engine/src/builtins/string/mod.rs @@ -2141,7 +2141,7 @@ impl String { let normalizers = { #[cfg(not(feature = "intl"))] { - static NORMALIZERS: StringNormalizers = StringNormalizers { + const NORMALIZERS: StringNormalizers = StringNormalizers { nfc: ComposingNormalizer::new_nfc(), nfkc: ComposingNormalizer::new_nfkc(), nfd: DecomposingNormalizer::new_nfd(),