Skip to content

Commit

Permalink
Implement both enum-based and nan-boxed JsValue inner behind a flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hansl committed Dec 30, 2024
1 parent 8789d55 commit ec32abd
Show file tree
Hide file tree
Showing 5 changed files with 1,132 additions and 858 deletions.
1 change: 1 addition & 0 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dhat = { workspace = true, optional = true }
[features]
default = ["boa_engine/annex-b", "boa_engine/experimental", "boa_engine/intl_bundled"]
dhat = ["dep:dhat"]
nan-box-jsvalue = ["boa_engine/nan-box-jsvalue"]

[target.x86_64-unknown-linux-gnu.dependencies]
jemallocator.workspace = true
Expand Down
1 change: 1 addition & 0 deletions core/engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ rust-version.workspace = true
profiler = ["boa_profiler/profiler"]
deser = ["boa_interner/serde", "boa_ast/serde"]
either = ["dep:either"]
nan-box-jsvalue = []

# Enables the `Intl` builtin object and bundles a default ICU4X data provider.
# Prefer this over `intl` if you just want to enable `Intl` without dealing with the
Expand Down
Loading

0 comments on commit ec32abd

Please sign in to comment.