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

Use portable-atomic #55

Merged
merged 4 commits into from
Oct 6, 2023
Merged

Use portable-atomic #55

merged 4 commits into from
Oct 6, 2023

Conversation

romancardenas
Copy link
Contributor

The atomic-polyfill crate has been deprecated. Moving to portable-atomic to allow us compile for riscv32imc-unknown-none-elf targets when CAS operations are needed.

Copy link
Collaborator

@almindor almindor left a comment

Choose a reason for hiding this comment

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

Thank you!

@almindor
Copy link
Collaborator

almindor commented Oct 6, 2023

Hmm, will this need a MSRV bump?

riscv = { version = "0.10.1", features = ["critical-section-single-hart"] }
e310x = { version = "0.11.0", features = ["rt", "critical-section"] }

[target.'cfg(not(target_has_atomic = "32"))'.dependencies]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems that this does not work with Rust 1.59... I'll keep bumping the MSRV until CI passes

@romancardenas
Copy link
Contributor Author

There it was. Now it should be good to go

@almindor almindor merged commit 057d298 into riscv-rust:master Oct 6, 2023
6 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.

2 participants