Skip to content

Try and switch to Naked Functions#111

Merged
jonathanpallant merged 2 commits intorust-embedded:mainfrom
thejpster:naked-functions
Mar 31, 2026
Merged

Try and switch to Naked Functions#111
jonathanpallant merged 2 commits intorust-embedded:mainfrom
thejpster:naked-functions

Conversation

@thejpster
Copy link
Copy Markdown
Contributor

@thejpster thejpster commented Feb 1, 2026

I ported everything to naked functions, only to find two issues:

So this is draft until MSRV catches up.

This PR has been changed to only update the examples (which use nightly Rust and not our MSRV).

@thejpster thejpster mentioned this pull request Feb 1, 2026
@jonathanpallant jonathanpallant force-pushed the naked-functions branch 2 times, most recently from 6bd93f7 to f9e7b9e Compare February 26, 2026 16:26
@thejpster thejpster marked this pull request as draft March 24, 2026 19:25
@thejpster thejpster mentioned this pull request Mar 29, 2026
@thejpster thejpster marked this pull request as ready for review March 29, 2026 15:38
@thejpster thejpster changed the title Draft: Try and switch to Naked Functions Try and switch to Naked Functions Mar 29, 2026
We cannot use this on the main library, because it means we'd need to
use the instruction_set attribute (rather than a .arm or .thumb
directive) and that isn't available on stable for most of our targets.
@thejpster
Copy link
Copy Markdown
Contributor Author

Rebased

@thejpster
Copy link
Copy Markdown
Contributor Author

Rebased correctly (hopefully 😄)

@jonathanpallant jonathanpallant added this pull request to the merge queue Mar 31, 2026
Merged via the queue into rust-embedded:main with commit 5f710d5 Mar 31, 2026
50 checks passed
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.

3 participants