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

Does not compile on thumbv6m-none-eabi #81

Closed
CryZe opened this issue Apr 1, 2023 · 0 comments
Closed

Does not compile on thumbv6m-none-eabi #81

CryZe opened this issue Apr 1, 2023 · 0 comments

Comments

@CryZe
Copy link

CryZe commented Apr 1, 2023

The crate fails compiling on thumbv6m-none-eabi. In my case it's included as an indirect dependency of cosmic-text.

error[E0433]: failed to resolve: could not find `sync` in `alloc`
Error:    --> /home/runner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/ouroboros-0.15.6/src/lib.rs:372:46
    |
372 |     std_type_check!(is_std_arc_type T alloc::sync::Arc<T>);
    |                                              ^^^^ could not find `sync` in `alloc`

The sync module only exists if the following cfg holds #[cfg(target_has_atomic = "ptr")]. This cfg is available in stable Rust.

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

No branches or pull requests

2 participants