You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
397: Ignore non snake case types that can exist in SVD files r=therealprof a=mvertescher
Hi! 👋 Thanks for this awesome project!
I've run into a build error generating bindings for the [psoc6-pac](https://github.com/psoc-rs/psoc6-pac). Here's a example of one of the many build failures:
```
error: structure field `data_list_sent_update__status` should have a snake case name
--> src/ble.rs:187:9
|
187 | pub data_list_sent_update__status: self::blell::DATA_LIST_SENT_UPDATE__STATUS,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `data_list_sent_update_status`
```
This issue is caused by `#![deny(warnings)]` and should be fixed by adding the `#![allow(non_snake_case)]` exception. There may be alternative fixes, I'm open to suggestions!
Co-authored-by: Matt Vertescher <[email protected]>
0 commit comments