feat: 注入 harness 并补齐关键全局内建

This commit is contained in:
2026-06-09 17:08:10 +08:00
parent a654b5834f
commit ff6853face
13 changed files with 209 additions and 48 deletions
+2
View File
@@ -90,4 +90,6 @@ pub fn init_kernel_builtins(kernel: &Arc<OxideKernel>) {
bind_function::bind_function(kernel);
bind_regexp::bind_regexp(kernel, global);
bind_symbol::bind_symbol(kernel, global);
bind_global_value(kernel, global, "globalThis", JsValue::from_js_object(global_ptr));
}