mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 03:01:12 +08:00
fix: 闭包 upvalue cell 占位稳定化修复错读调用方表
This commit is contained in:
@@ -1135,9 +1135,16 @@ fn run_tests() -> bool {
|
||||
}
|
||||
};
|
||||
|
||||
let mut log_level = Level::Info;
|
||||
if let Ok(s) = std::env::var("OXIDE_TEST262_LOG_LEVEL") {
|
||||
if let Some(l) = oxide_log::subsystem::parse_level(&s) {
|
||||
log_level = l;
|
||||
}
|
||||
}
|
||||
eprintln!("[LOG] level={log_level:?}");
|
||||
oxide_log::init(&LogConfig {
|
||||
output: Output::Stderr,
|
||||
levels: [Level::Info; SUBSYSTEM_COUNT],
|
||||
levels: [log_level; SUBSYSTEM_COUNT],
|
||||
});
|
||||
|
||||
let test262_root = if let Some(root) = config.test262_root.clone() {
|
||||
|
||||
Reference in New Issue
Block a user