Various attributes and extern "C" must be marked "unsafe" to compile generated code#933
Various attributes and extern "C" must be marked "unsafe" to compile generated code#933Plaba wants to merge 1 commit intorust-embedded:masterfrom
Conversation
|
This is due to edition change, use 2021 edition in Cargo.toml to resolve. I remember an issue where we discussed how to solve this but I can't find it anymore |
1.82.0 Released on: 17 October, 2024 |
|
@therealprof What do you think? Should we bump rust to 1.82 and fix this or stay on |
Edition 2024 needs rust 1.85. |
As discussed in our weekly meeting just now, we see very little upside in bumping to edition 2024 at this time and some major downsides, like not being able to build the generated PACs with Ferrocene for the time being. Since crates can be build with different editions there doesn't seem to be an obvious reason to make the jump now. It would be good to know if we missed something important. @Plaba |
|
Ok. Another suggestion. Support 2 rust versions. What do you think about support by default last stable version of Rust? |
|
@burrbull We did discuss adding a |
tested against RA4M1 SVD
tested on rustc 1.86.0 svd2rust 0.36.1