-
Notifications
You must be signed in to change notification settings - Fork 744
Fix raspberry pi pico example not compiling #4034
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
Conversation
|
Attempting to fix CI issue in embassy-rs/embassy#4909, before proceeding further |
|
Additionally xtask doc needs to probably be updated to get the check to pass properly |
laggui
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for keeping the example up to date 😄
LGTM, pending the dependency audit issue
88720a0 to
2fc0f0d
Compare
|
I've gotten embassy-rs/embassy#4948 merged, but now it seems that xtask might have changed a little since two weeks ago. I'll look into the underlying issue and submit a PR if needed. |
laggui
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've gotten embassy-rs/embassy#4948 merged, but now it seems that xtask might have changed a little since two weeks ago. I'll look into the underlying issue and submit a PR if needed.
Hmmm not sure, we're delayed the xtask version changes due to breaking changes so I don't think it has changed.
I think the example should only be compiled for the correct target, otherwise CI will fail.
|
When running |
2fc0f0d to
11b3d4b
Compare
|
I'm just gonna exclude the example from the workspace like it was previously, which means that future changes still can break it. Until |
3d3c9ce to
fa7eb07
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4034 +/- ##
=======================================
Coverage 68.01% 68.01%
=======================================
Files 1264 1264
Lines 152722 152722
=======================================
Hits 103876 103876
Misses 48846 48846 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8171e19 to
e167713
Compare
laggui
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Until cargo clippy adds a way to exclude, I don't see an easy way to do this.
Ahhh ok so it was clippy. Makes sense.
Thanks for the update!
Pull Request Template
Checklist
cargo run-checkscommand has been executed.Related Issues/PRs
Just this PR.
Changes
This just removes the
unsafe-assume-single-corethat ends up breaking the raspberry-pi-pico from compiling, since you can't use critical section.Testing
I've removed the raspberry-pi-pico exclude from the
Cargo.toml, since it seems like it is working now.