feat: works
This commit is contained in:
17
__wasm/wit-bindgen-sample/engine/boa/boa_gc/Cargo.toml
Normal file
17
__wasm/wit-bindgen-sample/engine/boa/boa_gc/Cargo.toml
Normal file
@@ -0,0 +1,17 @@
|
||||
[package]
|
||||
name = "boa_gc"
|
||||
version = "0.15.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.60"
|
||||
authors = ["boa-dev"]
|
||||
description = "Garbage collector used in Boa."
|
||||
repository = "https://github.com/boa-dev/boa"
|
||||
keywords = ["javascript", "js", "garbage", "memory"]
|
||||
categories = ["command-line-utilities"]
|
||||
license = "Unlicense/MIT"
|
||||
|
||||
[dependencies]
|
||||
gc = { version = "0.4.1", features = ["derive"] }
|
||||
|
||||
# Optional Dependencies
|
||||
measureme = { version = "10.1.0", optional = true }
|
||||
6
__wasm/wit-bindgen-sample/engine/boa/boa_gc/src/lib.rs
Normal file
6
__wasm/wit-bindgen-sample/engine/boa/boa_gc/src/lib.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
//! Garbage collector for the Boa JavaScript engine.
|
||||
|
||||
pub use gc::{
|
||||
custom_trace, finalizer_safe, force_collect, unsafe_empty_trace, Finalize, Gc, GcCell as Cell,
|
||||
GcCellRef as Ref, GcCellRefMut as RefMut, Trace,
|
||||
};
|
||||
Reference in New Issue
Block a user