diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-11-06 18:46:50 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-06 18:46:50 +0000 |
| commit | 7ca557b917754e941e6dd9338e4606ae2c452c4a (patch) | |
| tree | de37efc3b4fd19122a26584f8a2bb735ef703387 /embassy-executor/src | |
| parent | 5948d934d3b6700595d2c1e094b5c9c9e5928257 (diff) | |
| parent | 8d8d50cc7a97fa65976e9dc1a82a58de29e7eb64 (diff) | |
Merge pull request #2152 from bugadani/atomic
Executor: Yeet core::sync::atomic from risc-v
Diffstat (limited to 'embassy-executor/src')
| -rw-r--r-- | embassy-executor/src/arch/riscv32.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/arch/riscv32.rs b/embassy-executor/src/arch/riscv32.rs index 40c6877e2..e5c0ff2ec 100644 --- a/embassy-executor/src/arch/riscv32.rs +++ b/embassy-executor/src/arch/riscv32.rs | |||
| @@ -6,8 +6,8 @@ pub use thread::*; | |||
| 6 | #[cfg(feature = "executor-thread")] | 6 | #[cfg(feature = "executor-thread")] |
| 7 | mod thread { | 7 | mod thread { |
| 8 | use core::marker::PhantomData; | 8 | use core::marker::PhantomData; |
| 9 | use core::sync::atomic::{AtomicBool, Ordering}; | ||
| 10 | 9 | ||
| 10 | use atomic_polyfill::{AtomicBool, Ordering}; | ||
| 11 | #[cfg(feature = "nightly")] | 11 | #[cfg(feature = "nightly")] |
| 12 | pub use embassy_macros::main_riscv as main; | 12 | pub use embassy_macros::main_riscv as main; |
| 13 | 13 | ||
