Skip to content

Bump MSRV to 1.93 and use asm-cfg#199

Merged
adamgreig merged 2 commits into
rust-embedded:mainfrom
thejpster:use-asm-cfg
Jul 5, 2026
Merged

Bump MSRV to 1.93 and use asm-cfg#199
adamgreig merged 2 commits into
rust-embedded:mainfrom
thejpster:use-asm-cfg

Conversation

@thejpster

Copy link
Copy Markdown
Contributor

Includes #197

Uses newly stablised asm-cfg to remove the system_init! macro.

I left the FPU save/restore macros, because they get used in a lot of places and the duplication didn't seem worth it.

@thejpster

thejpster commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

I might cherry pick the asm comment cleanup to another PR, because it's orthogonal to system_init! being replaced with asm-cfg gated assembly.

I did this.

@thejpster thejpster force-pushed the use-asm-cfg branch 2 times, most recently from c83f80b to 1284f42 Compare July 5, 2026 10:55
@adamgreig adamgreig added this pull request to the merge queue Jul 5, 2026
@thejpster

Copy link
Copy Markdown
Contributor Author

@adamgreig did you conclude that raising the MSRV to 1.93 was a fair price to pay for the neater asssembly code?

Merged via the queue into rust-embedded:main with commit b974333 Jul 5, 2026
96 checks passed
@adamgreig

Copy link
Copy Markdown
Member

Yep, absolutely. It's well within our MSRV promise and this crate is also much newer so the odds of it causing any problems seem very low compared to a more established crate with more potential for users of older Rust versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants