mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibJS: Extract BytecodeDef into a shared Rust crate
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.
This commit is contained in:
committed by
Andreas Kling
parent
24e0b704b9
commit
d2760d09b7
Notes:
github-actions[bot]
2026-03-07 12:12:23 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/d2760d09b7f Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8299
@@ -13,3 +13,6 @@ unicode-ident = "1.0"
|
||||
num-bigint = "0.4"
|
||||
num-traits = "0.2"
|
||||
num-integer = "0.1"
|
||||
|
||||
[build-dependencies]
|
||||
bytecode_def = { path = "../BytecodeDef" }
|
||||
|
||||
Reference in New Issue
Block a user