Skip to content

feat(rust): emit the canonical IR_HASH from comline-core - #11

Merged
Kinflou merged 2 commits into
mainfrom
feat/canonical-ir-hash
Sep 2, 2026
Merged

feat(rust): emit the canonical IR_HASH from comline-core#11
Kinflou merged 2 commits into
mainfrom
feat/canonical-ir-hash

Conversation

@Kinflou

@Kinflou Kinflou commented Sep 2, 2026

Copy link
Copy Markdown
Member

PR of the IR_HASH chain (after core#49, alongside generation bump).

Drops the local FNV-over-Debug ir_hash and emits comline_core::schema::ir::frozen::schema_ir_hash(units) — the canonical BLAKE3-over-bincode digest, identical across generators and target languages. The generated IR_HASH const changes value (a better identity); no test pins the old hex.

Pins: comline-core50c17cc, comline-codegen → generation d901db4 (matching core).

Kinflou added 2 commits September 2, 2026 16:05
Drop the local FNV-over-Debug `ir_hash` and emit
`comline_core::schema::ir::frozen::schema_ir_hash(units)` instead — the
canonical BLAKE3-over-bincode digest, identical across generators and
target languages. The generated `IR_HASH` const changes value (a better
identity); no test pins the old hex.

Bumps comline-core to 50c17cc. The comline-codegen pin follows in a
fixup once generation bumps its core pin to match.
@Kinflou
Kinflou merged commit 890688d into main Sep 2, 2026
2 checks passed
@Kinflou
Kinflou deleted the feat/canonical-ir-hash branch September 2, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant