-
Notifications
You must be signed in to change notification settings - Fork 154
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
One enum #358
One enum #358
Conversation
Weird, again I see absolutely not change in the generated files for my test SVDs (except for the |
bors try |
It just can not be. |
Well, it is... I reverted |
Does your SVD contain |
I can certainly try other SVD files. Two problems here: I cannot test my code base against patched versions and we do not have test cases on the CI based on those, so if only patched SVDs exercise those features we're basically not testing those which is bad... |
tryBuild succeeded |
Not really, CI times vary quite a bit. We had similar "quick" builds e.g. here: https://travis-ci.org/rust-embedded/svd2rust/builds/564713886 |
So is here something blocking merge? |
Well, as I said. I can't see any changes with my set-up infrastructure and I'd definitely like to be sure that this is tested, preferably in CI. So either someone can tell me which currently tested SVD file exercises this change or this will need to wait until I switch my tests to use the |
cc @adamgreig |
Well, seems like the svd2rust output is unable to build on stable.
Checked on this repo: https://github.com/riscv-rust/k210-pac |
Oh, have I mentioned that we definitely should have SVD files in CI which exercises all code in a PR. 🙄 Well probably have to revert the variant changes and work on modernising CI a bit so this doesn't happen again. |
Hmm, why |
@Disasm I forgot to try on stable. I've reverted. Can you try again. |
@burrbull Checked, the error is still here. |
Try again, please. Now it should be fixed. |
Now it builds. On k210-pac it shows 6.3% build time reduction compared to master. Not bad! |
@Disasm Since it seems to be buildable on stable, would you be willing to move RISC-V out of the OTHER category and make it testable on stable in a new PR? |
@therealprof Yep, working on this. |
@burrbull Would you rebase please? |
Done. |
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.
LGTM.
bors r+ |
358: One enum r=therealprof a=burrbull r? @therealprof Co-authored-by: Andrey Zgarbul <[email protected]>
Build succeeded |
It's funny: The problem that was blocking compilation on stable will not be in 1.37. |
r? @therealprof