Repository navigation
feat(runtime)!: store dynamic containers in the simulator heap - #2148
Merged
mergify[bot] merged 1 commit intoOct 26, 2026
Conversation
## Summary Add immutable, interned heap values for dynamic arrays, bounded and unbounded queues, and associative arrays. The heap helper supports resizing, element updates, queue operations, ordered traversal and four-state equality. Collection follows string and object elements, and checkpoints preserve container state. Intern completed updates so writing equal contents preserves handles and does not wake value-change event waits. Reject negative array sizes through runtime fault reporting. The SystemVerilog binding is the next member of this stack. ## Validation Validated this commit independently, without the frontend changes: - `cargo test --locked -p celox-heap -p celox-runtime -p celox --features celox/systemverilog,celox/cranelift,celox/wasm-runtime --lib`: 23 heap, 78 runtime and 231 Celox tests passed. - `cargo clippy --locked -p celox-heap -p celox-runtime -p celox --features celox/systemverilog,celox/cranelift,celox/wasm-runtime --lib`: passed. - `cargo fmt --all -- --check` and `git diff --check`: passed. BREAKING CHANGE: native image containers advance to version 45 and serialized core checkpoints to version 2. Regenerate artifacts produced by older versions. Change-Id: I21a75c9528004c0625b60f4263521c2e783f984e
Contributor
Author
|
This pull request is part of a Mergify stack:
|
tignear
marked this pull request as ready for review
October 26, 2026 12:22
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Merge Queue Status
This pull request spent 34 minutes 57 seconds in the queue, including 33 minutes 24 seconds running CI. Required conditions to merge
|
40 of 71 tasks
mergify
Bot
deleted the
stack/tignear/feat/dynamic-containers/store-dynamic-containers-simulator-heap--21a75c95
branch
October 26, 2026 13:21
43 of 73 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add immutable, interned heap values for dynamic arrays, bounded and unbounded
queues, and associative arrays. The heap helper supports resizing, element
updates, queue operations, ordered traversal and four-state equality. Collection
follows string and object elements, and checkpoints preserve container state.
Intern completed updates so writing equal contents preserves handles and does
not wake value-change event waits. Reject negative array sizes through runtime
fault reporting. The SystemVerilog binding is the next member of this stack.
Validation
Validated this commit independently, without the frontend changes:
cargo test --locked -p celox-heap -p celox-runtime -p celox --features celox/systemverilog,celox/cranelift,celox/wasm-runtime --lib: 23 heap, 78 runtime and 231 Celox tests passed.cargo clippy --locked -p celox-heap -p celox-runtime -p celox --features celox/systemverilog,celox/cranelift,celox/wasm-runtime --lib: passed.cargo fmt --all -- --checkandgit diff --check: passed.BREAKING CHANGE: native image containers advance to version 45 and serialized
core checkpoints to version 2. Regenerate artifacts produced by older versions.