Skip to content
Open
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
23 changes: 23 additions & 0 deletions Cargo.lock

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

7 changes: 7 additions & 0 deletions core/gc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ either = ["dep:either"]
# Enable default implementations of trace and finalize for the arrayvec crate
arrayvec = ["dep:arrayvec"]

oscars = ["dep:oscars", "unstable"]

# Unstable feature
unstable = []
Comment on lines +27 to +28
Copy link
Member

@jedel1043 jedel1043 Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the unstable feature? Is it not enough to have the oscars feature to gate the new GC?


[dependencies]
boa_macros.workspace = true
hashbrown.workspace = true
Expand All @@ -31,6 +36,8 @@ either = { workspace = true, optional = true }
thin-vec = { workspace = true, optional = true }
icu_locale_core = { workspace = true, optional = true }
arrayvec = { workspace = true, optional = true }
oscars = { git = "https://github.com/boa-dev/oscars.git", rev = "d4864e7", optional = true }


[lints]
workspace = true
Expand Down
3 changes: 3 additions & 0 deletions core/gc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

extern crate self as boa_gc;

#[cfg(feature = "oscars")]
pub use oscars;

mod cell;
mod pointers;
mod trace;
Expand Down
Loading