Skip to content

riscv32-common: fix @typeInfo struct field in modify() - #1060

Merged
Grazfather merged 1 commit into
ZigEmbeddedGroup:mainfrom
So1aric:riscv-update-struct
Oct 1, 2026
Merged

Grazfather merged 1 commit into
ZigEmbeddedGroup:mainfrom
So1aric:riscv-update-struct

Conversation

@So1aric

@So1aric So1aric commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Updates @typeInfo(xxx).Struct to @typeInfo(xxx).@"struct" in Csr.modify. This appears to have been missed in a previous update. (Csr.get_bits and Csr.is_comptime are already updated)

@Grazfather Grazfather left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice good find. Zig not compiling unreachable code makes sense but then we get migration bugs like this.

@Grazfather
Grazfather merged commit 29d5f6f into ZigEmbeddedGroup:main Oct 1, 2026
49 of 57 checks passed
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.

2 participants