refactor: use GhostCell to provide interior mutability in Ir

This commit is contained in:
2026-02-24 16:52:33 +08:00
parent c24d6a8bb3
commit 843ae6cfb4
6 changed files with 1133 additions and 1017 deletions

7
Cargo.lock generated
View File

@@ -1302,6 +1302,12 @@ dependencies = [
"wasip3",
]
[[package]]
name = "ghost-cell"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8449d342b1c67f49169e92e71deb7b9b27f30062301a16dbc27a4cc8d2351b7"
[[package]]
name = "gimli"
version = "0.32.3"
@@ -2057,6 +2063,7 @@ dependencies = [
"ere",
"fastwebsockets",
"flate2",
"ghost-cell",
"hashbrown 0.16.1",
"hex",
"http",