-
Notifications
You must be signed in to change notification settings - Fork 157
Disjoint arrays #662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disjoint arrays #662
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @reitermarkus (or someone else) soon. Please see the contribution instructions for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also needs a cargo fmt
Let's make release before merging this. @Emilgardis ? |
Yes lets! |
rebase, please |
6a75bdc
to
81dca52
Compare
I know re-writing history that is publicly available is generally bad practice, but there were a number of conflicts with master that needed to be resolved in order to rebase. |
we generally approve of doing that in prs, especially since thats when you have the opportunity, feel free to squash the commits, for now it's fine though as we're still reviewing this |
I found an issue with the |
I also think the |
convert it to a draft if you feel there's more to be done 👍🏼 |
Hey everyone I reworked this to take advantage of the |
3390a42
to
e3c240a
Compare
ab8a22f
to
b71cb89
Compare
I think the derive info method is preferable as it adds the least complexity. Let me know and I can squash out the old |
b71cb89
to
fc83364
Compare
yet one rebase on master, please |
Could you also show examples of |
e28300a
to
0d447b9
Compare
Happy to share some examples. Here's a patched source from the Renesas FSP r7fa2a1ab.svd.patched. Patch addressed some |
ok. LGFM now. |
0d447b9
to
5d7bb65
Compare
After merging, this might be a good opportunity to improve/expand the CI a bit by adding tests against one or more of the Renesas SVDs I've referenced since they exercise this feature extensively. Not sure how that's accomplished but I'm happy to help. |
5d7bb65
to
621364b
Compare
Fixed a comment typo when I did a find/replace:
|
621364b
to
874f7df
Compare
Also cleaned up / reverted some debug items: Click to expand
|
bors r+ |
Solution 2 for #660 which pre-parses ERC type names and provides expansion information to the render functions. Works great with a few SVDs from the Renesas RA DFP which tend to use disjoint arrays quite frequently.