mirror of
https://github.com/ratatui/ratatui.git
synced 2025-09-26 20:40:44 +00:00

Improves compatibility with no-std targets that don't support atomic types. We support three different scenarios depending on the target: 1. Terminal applications and other std targets (e.g. espidf): - `std` enabled, `portable-atomic` disabled 2. Embedded targets with atomic types, bare metal x86, etc.: - `std` disabled `portable-atomic` disabled 3. Embedded targets without atomic types (e.g. single-core MCUs): - `std` disabled, `portable-atomic` enabled Turning on `portable-atomic` together with `std` will fall back to `std` atomic.