summaryrefslogtreecommitdiff
path: root/core/lib.rs
diff options
context:
space:
mode:
authorAndreu Botella <andreu@andreubotella.com>2022-04-17 13:53:08 +0200
committerGitHub <noreply@github.com>2022-04-17 13:53:08 +0200
commit19bb82aa40eabd9a06ba6650558653ec88d19a96 (patch)
treed9c88f0ea1d70540f09ef0b6992a8fd05fadf52f /core/lib.rs
parentbd6494d1194781f798f5eeaa822adc76dd27048e (diff)
feat(core): Add initial support for realms (#14019)
This commit adds tentative support for multiple realms in "deno_core". It adds the "JsRealm" API that adds methods like "JsRuntime"'s "handle_scope", "global_object" and "execute_script" specific to the realm.
Diffstat (limited to 'core/lib.rs')
-rw-r--r--core/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/lib.rs b/core/lib.rs
index 9a8cc8ef9..eb037a020 100644
--- a/core/lib.rs
+++ b/core/lib.rs
@@ -94,6 +94,7 @@ pub use crate::runtime::CompiledWasmModuleStore;
pub use crate::runtime::CrossIsolateStore;
pub use crate::runtime::GetErrorClassFn;
pub use crate::runtime::JsErrorCreateFn;
+pub use crate::runtime::JsRealm;
pub use crate::runtime::JsRuntime;
pub use crate::runtime::RuntimeOptions;
pub use crate::runtime::SharedArrayBufferStore;