Skip to content

merge queue: merged #2724: feat(cli)!: share SystemVerilog compilation units across ordered source files - #2735

Closed
mergify[bot] wants to merge 2 commits into
masterfrom
mergify/merge-queue/703df2d30c
Closed

mergify[bot] wants to merge 2 commits into
masterfrom
mergify/merge-queue/703df2d30c

Conversation

@mergify

@mergify mergify Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a merge queue draft opened by Mergify. Its pull request has merged, and nobody needs to act on it.
Mergify opened it for batch fascinated-financier-wv1p2r of the changes queue, to test #2724 before it merged into master.

🎉 What landed

Mergify merged its pull request into master, then closed this draft:

  • #2724 feat(cli)!: share SystemVerilog compilation units across ordered source files (tignear), as eb7afe2

This draft's code was built in this order:

  1. master at 329d955
  2. #2724, the pull request of this batch
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 329d95563c0dc1e3c76a96773fa4a99428f25fe7
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2724
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • check-success = Verify workflow lockfile
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Queue validation
    • check-neutral = @github-actions/Queue validation
    • check-skipped = @github-actions/Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Verify workflow lockfile
    • check-neutral = @github-actions/Verify workflow lockfile
    • check-skipped = @github-actions/Verify workflow lockfile
Required conditions to stay in the queue

tignear and others added 2 commits October 31, 2026 20:40
…ce files

`celox run -f rtlmeter.f` previously restarted preprocessing for every source,
so macros defined in a configuration header disappeared before later RTL files.
The CLI now treats its ordered source list as one compilation unit by default.
Definitions, undefinitions, directives and unit declarations carry forward;
relative includes resolve against their own source files. Lists accept .h,
.vh and .svh headers alongside .v/.sv sources, including a leading header.

Use --separate-units or single_unit = false in celox.toml to retain per-file
isolation; --single-unit overrides a project setting. Both run and vpi build
use the same selection. Rust source-list APIs keep their existing per-file
contract; syntax::preprocess_sources explicitly preprocesses a shared unit.

IEEE 1800-2023 3.12.1 requires both compilation models and leaves the default
to tools. Preserve file boundaries in expanded text with line directives. Separate tokens
introduced by expansions so a macro's unary minus followed by -1 remains
- -1, rather than becoming the decrement --1. Explicit token pastes remain
intact; macro substitution in based literals remains supported. Comments do not
terminate escaped identifiers: expansion boundaries insert actual whitespace
before comments, and EOF line comments end before an included file's caller.

Closes #2128.

Validation: project_cli (22 passed), syntax crate (137 passed), compilation_units
(3 passed), analyzer syntax tests (7 passed), analyzer doctests, affected-crate
clippy and cargo fmt. With #2133, RTLmeter hello passes in four-state on E902
(native, 5392 cycles) and E906 (native and tiered, 9816 cycles). After the token
serialization fix, both designs retain their effective token streams (174054
and 497628 tokens; based-literal whitespace normalized per IEEE 5.7.1).

Change-Id: I9acd28e899919795f02894d6fcc118ef68667d63
@mergify mergify Bot changed the title merge queue: checking #2724 on master (329d955) merge queue: merged #2724: feat(cli)!: share SystemVerilog compilation units across ordered source files Oct 31, 2026
@mergify mergify Bot closed this Oct 31, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/703df2d30c branch October 31, 2026 12:19
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