feat: ready for JIT

This commit is contained in:
2025-05-10 21:09:53 +08:00
parent d04d46c905
commit 2b309fb825
6 changed files with 3 additions and 161 deletions

View File

@@ -4,14 +4,11 @@ version = "0.0.0"
edition = "2024"
[features]
default = ["vm", "jit", "repl"]
vm = []
jit = ["dep:inkwell"]
repl = ["dep:rustyline"]
[[bin]]
name = "repl-vm"
required-features = ["vm", "repl"]
name = "repl"
required-features = ["repl"]
[profile.perf]
debug = 1
@@ -26,6 +23,6 @@ derive_more = { version = "2.0", features = [ "full" ] }
ecow = "0.2"
regex = "1.11"
inkwell = { version = "0.6.0", features = ["llvm18-1"], optional = true }
inkwell = { version = "0.6.0", features = ["llvm18-1"] }
rustyline = { version = "15.0", optional = true }