Skip to content

Conversation

Kingcxp
Copy link
Contributor

@Kingcxp Kingcxp commented May 16, 2025

After rust-lang/rust#128651 merged in nightly toolchain, asm! macro is not allowed in naked functions.

So what we need to do is just fix that.

Change:

  • replace #[naked] with #[unsafe(naked)] for stable Rust

@luojia65
Copy link
Member

Thanks for contribution! Your pull request LGTM, however there is an existing fix in this pull request: #3 . I'm closing this PR for duplication; please add comments if my decision is inappropriate. Thanks!

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