Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document atomic emulation as breaking #962

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Conversation

MabezDev
Copy link
Member

Existing projects will get runtime IllegalInstruction errors unless they specifically remove the lines required to atomic emulation working, or opt back in. This documents this in the change log.

@MabezDev MabezDev added the skip-changelog No changelog modification needed label Nov 20, 2023
Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, thanks!

@MabezDev
Copy link
Member Author

I'm wondering if we could also detect this in a build script some how 🤔

Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MabezDev
Copy link
Member Author

I got the detection working, the problem is if a user has portable-atomic in their dep tree they're going to run into those errors before the build script runs. There is not much we can do about that, this will at least catch some issues.

@MabezDev MabezDev added this pull request to the merge queue Nov 20, 2023
Merged via the queue into esp-rs:main with commit 15f4dad Nov 20, 2023
17 checks passed
@MabezDev MabezDev deleted the atomic-breaking branch November 20, 2023 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants