Skip to content

Commit

Permalink
chore: add feature gate to import js_str
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyboyQCD committed Nov 8, 2024
1 parent a84e045 commit 5c29f69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/engine/src/builtins/string/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ use crate::{
value::IntegerOrInfinity,
Context, JsArgs, JsResult, JsString, JsValue,
};
use boa_macros::{js_str, utf16};
#[cfg(feature = "annex-b")]
use boa_macros::js_str;
use boa_macros::utf16;

use boa_profiler::Profiler;
use icu_normalizer::{ComposingNormalizer, DecomposingNormalizer};
use std::cmp::{max, min};
Expand Down

0 comments on commit 5c29f69

Please sign in to comment.