feat: migrate to cranelift (WIP)

This commit is contained in:
2025-06-27 22:40:53 +08:00
parent e26789f3b7
commit 5625f28e9b
13 changed files with 720 additions and 732 deletions

View File

@@ -1,4 +1,4 @@
use std::ops::Deref;
use core::ops::Deref;
use std::rc::Rc;
use derive_more::Constructor;
@@ -99,7 +99,7 @@ impl AttrSet {
}
pub fn into_inner(self: Rc<Self>) -> Rc<HashMap<EcoString, Value>> {
unsafe { std::mem::transmute(self) }
unsafe { core::mem::transmute(self) }
}
pub fn from_inner(data: HashMap<EcoString, Value>) -> Self {