feat: Try to support more architecture

This commit is contained in:
MystiPanda
2024-03-15 21:14:05 +08:00
parent b2197187c1
commit 11465e89a3
7 changed files with 244 additions and 252 deletions

View File

@@ -12,7 +12,7 @@ pub fn use_script(script: String, config: Mapping) -> Result<(Mapping, Vec<(Stri
let copy_outputs = outputs.clone();
unsafe {
let _ = context.register_global_builtin_callable(
"__verge_log__",
"__verge_log__".into(),
2,
NativeFunction::from_closure(
move |_: &JsValue, args: &[JsValue], context: &mut Context| {