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

Add support for targets without atomics #384

Closed
wants to merge 1 commit into from

Conversation

zeegomo
Copy link

@zeegomo zeegomo commented Nov 7, 2023

Conditionally compile LazyUsize/Bool based on whether atomics are available on the target.

Workaround for #383

Conditionally compile LazyUsize/Bool based on whether atomics are
available on the target.
@newpavlov
Copy link
Member

Right now LazyUsize is used only in the use_file module, so I think we can simply move it there. LazyBool is used in linux_android and rdrand modules, so I think we can move it into a new lazy_bool module and "mount" it inside cfg_if similarly to how we handle the use_file module.

@newpavlov
Copy link
Member

Closing in favor of #385

@newpavlov newpavlov closed this Nov 8, 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.

2 participants