Skip to content

nanox build error: no method named compare_exchange found for struct core::sync::atomic::AtomicU8 in the current scope #218

@Pana

Description

@Pana

When developing a Ledger device app with Rust, I introduced a fundamental library called bytes. This library is very foundational in Rust development and is widely used, including in embedded devices. However, when selecting the Nano X device, the compilation failed, and I encountered the following error.

However, when selecting the Nano S Plus, Stax, or Flex devices, the compilation succeeds.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions