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

Fix build issue due to atomic u128s #774

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

gwilymk
Copy link
Contributor

@gwilymk gwilymk commented Sep 30, 2024

Add fallback feature for portable-atomic.

This is needed since without it, we don't get anything that the platform doesn't natively support, which is only up to 32 bits.

We newly need to change this because once_cell no longer imports with default features.

Fixes:

error[E0432]: unresolved import `portable_atomic::AtomicU128`
 --> src/rng.rs:1:23
  |
1 | use portable_atomic::{AtomicU128, Ordering};
  |                       ^^^^^^^^^^
  |                       |
  |                       no `AtomicU128` in the root
  |                       help: a similar name exists in the module: `AtomicU8`
  • no changelog update needed

This is needed since without it, we don't get anything that the platform
doesn't natively support, which is only up to 32 bits.

We newly need to change this because once_cell no longer imports with
default features.
@gwilymk gwilymk enabled auto-merge September 30, 2024 20:42
@gwilymk gwilymk merged commit 1faa176 into agbrs:master Sep 30, 2024
3 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.

1 participant