This repository has been archived on 2026-09-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
OxideJS/crates/oxide_compiler/Cargo.toml
T
爱特每羊队 bbba23b93a feat(compiler): Compiler 增加 enable_dce 字段与 with_dce 开关(D-10)
- unit struct 改带字段 struct,new() 默认开启 DCE
- compile 在 emit 与 lower 之间插入 oxide_dce::dce(nested 不递归 D-03)
- Cargo.toml 追加 oxide_dce path 依赖;dev 环经 resolver v2 解析通过
2026-08-06 11:45:26 +08:00

22 lines
579 B
TOML

[package]
name = "oxide_compiler"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "OxideJS - AST to bytecode compiler"
[dependencies]
oxide_bytecode = { path = "../oxide_bytecode" }
oxide_parser = { path = "../oxide_parser" }
oxide_log = { path = "../oxide_log" }
oxide_dce = { path = "../oxide_dce" }
oxide_ir.workspace = true
oxide_emit.workspace = true
serde.workspace = true
serde_json.workspace = true
rustc-hash.workspace = true
[dev-dependencies]
oxide_code_cache = { path = "../oxide_code_cache" }