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

Pin static_cell #899

Merged
merged 1 commit into from
Nov 3, 2023
Merged

Pin static_cell #899

merged 1 commit into from
Nov 3, 2023

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Nov 3, 2023

static_cell 1.3 was released yesterday dropping atomic-polyfill in favour of portable-atomic. Unfortunately, portable-atomic isn't compatible with something in RISC-V atomic emulation. This PR pins the old version as a band-aid so CI can stay blissfully ignorant.

Xtensa targets should be fine without this PR but I've pinned those to stay consistent with RV.

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

LGTM

@bjoernQ bjoernQ merged commit 9f0d384 into esp-rs:main Nov 3, 2023
17 checks passed
@bugadani bugadani deleted the static branch November 3, 2023 07:05
@jessebraham
Copy link
Member

In the future can we please add comments when we do this? I don't like pinning dependencies, and if there isn't a rationale given there is a good chance I will remove the = without thinking about it at some point.

@bugadani
Copy link
Contributor Author

bugadani commented Nov 3, 2023

Sure, sorry about that. In this case, if you accidentally remove it, CI will either scream at you for it or we will live in a happier future where portable-atomic works and we won't need pinning static_cell anyway.

@bjoernQ
Copy link
Contributor

bjoernQ commented Nov 3, 2023

ah true .... but you will quickly remember when you do and CI starts to build 🤣

katyo pushed a commit to katyo/esp-hal that referenced this pull request Nov 6, 2023
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.

None yet

3 participants