Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions crates/oxc_allocator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ oxc_estree = { workspace = true, features = ["serialize"] }
serde = { workspace = true }
serde_json = { workspace = true }

# Enable `testing` feature in tests and doctests.
# Allows doctests to use `bump` module without exposing it publicly.
oxc_allocator = { path = ".", features = ["testing"] }

[features]
bitset = []
fixed_size = ["from_raw_parts", "pool", "dep:oxc_ast_macros"]
Expand All @@ -46,3 +50,5 @@ pool = []
serialize = ["dep:serde", "oxc_estree/serialize"]
track_allocations = []
disable_track_allocations = []
# Only for use in tests
testing = []
Loading
Loading