Skip to content

counters: Array-of-Counters - #731

Open
jamesmunns wants to merge 2 commits into
masterfrom
james/manual-counters
Open

jamesmunns wants to merge 2 commits into
masterfrom
james/manual-counters

Conversation

@jamesmunns

Copy link
Copy Markdown
Contributor

oxidecomputer/hubris#2668 added a manual counters impl that was of the shape:

[AtomicU32; N]

rather than

struct {
    ...: AtomicU32,
    // ...
}

I intended to get this merged before landing 2668, but failed to do so. This should rectify that.

This will potentially help support oxidecomputer/hubris#2675 in the future, when we can automatically derive this rather than manually implement.

@jamesmunns
jamesmunns requested review from hawkw and labbott September 24, 2026 18:43
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