Skip to content

Truly independent web browser

LibJS: Export foreign cell slots and weak references to embedders

Aliaksandr Kalenik6868b35656e2
diff --git a/Libraries/LibJS/Rust/src/api.rs b/Libraries/LibJS/Rust/src/api.rs
index 5e23708f78e..3804eff5fdc 100644
--- a/Libraries/LibJS/Rust/src/api.rs
+++ b/Libraries/LibJS/Rust/src/api.rs
@@ -11,8 +11,10 @@
pub use crate::embedding::host::host_object::{HostObject, host_class_of, host_data_of, is_host_instance_of};
pub use crate::gc::embedder_cell::{EmbedderCell, EmbedderClass, EmbedderValue};
+pub use crate::gc::foreign::ForeignCellSlot;
pub use crate::gc::root::{MarkedVec, Root};
pub use crate::gc::visitor::{Trace, Visitor};
+pub use crate::gc::weak::GcWeak;
pub use crate::interpreter::vm::{TypeErrorRealmScope, Vm};
pub use crate::layout::cell::Gc;
pub use crate::layout::function_object::FunctionObject;