mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Move the Bytecode.def parser, field type info, and layout computation out of Rust/build.rs into a standalone BytecodeDef crate. This allows both the Rust bytecode codegen (build.rs) and the upcoming AsmIntGen tool to share a single source of truth for instruction field offsets and sizes. The AsmIntGen directory is excluded from the workspace since it has its own Cargo.toml and is built separately by CMake.
18 lines
245 B
TOML
18 lines
245 B
TOML
[workspace]
|
|
members = [
|
|
"Libraries/LibJS/Rust",
|
|
]
|
|
exclude = [
|
|
"Libraries/LibJS/AsmIntGen",
|
|
]
|
|
resolver = "2"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
|
|
[profile.distribution]
|
|
inherits = "release"
|
|
incremental = false
|
|
codegen-units = 1
|
|
lto = true
|