Closed burrbull closed 2 years ago
r? @therealprof
(rust-highfive has picked a reviewer for you, use r? to override)
сс @qwandor Can you make fixed link to SVDs to add them to CI?
I'm not quite sure what you mean by that, what exactly do you want me to do? The SVD files in https://github.com/gd32-rust/gd32-rs are extensively patched with svdtools
before running them through svd2rust
. The file I linked in #625 is with the patches applied.
what exactly do you want me to do
Just don't delete this file.
if it's troublesome to host it, we can upload it as a gist if we're allowed
Okay, I'll keep it up there for now, and let you know if anything changes.
@qwandor There is still remains 16 broken fields with too complicate derive paths. I'm not sure I'm able to solve this without full rewrite of derive path resolving (#623). There is 2 fast ways for you: downgrade to 0.23.1 which generates separate structs for each field or make derive paths of those fields shorter without cross-peripheral dependencies.
Is there an advantage of 0.23.1 over 0.24.0 here?
Is there an advantage of 0.23.1 over 0.24.0 here?
No advantage, but 0.24.0 is broken and generates incorrect code in some cases.
Close in favor of #631
Fixes #625