mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
refactor: 将基础类型定义放在单独 crate 以解决循环依赖
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use std::time::Instant;
|
||||
|
||||
use oxide_vm::mem::{Epoch, PersistentHeap};
|
||||
use oxide_types::mem::{Epoch, PersistentHeap};
|
||||
|
||||
#[test]
|
||||
fn epoch_alloc_and_read() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use oxide_compiler::compiler::Compiler;
|
||||
use oxide_parser::Allocator;
|
||||
use oxide_vm::value::JsValue;
|
||||
use oxide_types::value::JsValue;
|
||||
use oxide_vm::vm::Vm;
|
||||
|
||||
fn eval(source: &str) -> String {
|
||||
|
||||
Reference in New Issue
Block a user