aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src/arch/riscv32.rs
diff options
context:
space:
mode:
authorDániel Buga <[email protected]>2023-08-14 08:22:22 +0200
committerDániel Buga <[email protected]>2023-08-14 08:22:22 +0200
commitec6bd27df6101bc5f77fa4eace0e8963970231ad (patch)
treeecbee40838f3300b1419c855d5e8ec3f17e4ef48 /embassy-executor/src/arch/riscv32.rs
parent6ab0d71d9246cdc65f392212d03d639a51d21098 (diff)
Remove thread-context feature
Diffstat (limited to 'embassy-executor/src/arch/riscv32.rs')
-rw-r--r--embassy-executor/src/arch/riscv32.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-executor/src/arch/riscv32.rs b/embassy-executor/src/arch/riscv32.rs
index 087204006..976e7bcb3 100644
--- a/embassy-executor/src/arch/riscv32.rs
+++ b/embassy-executor/src/arch/riscv32.rs
@@ -27,9 +27,7 @@ mod thread {
27 pub struct Context; 27 pub struct Context;
28 28
29 impl ThreadContext for Context { 29 impl ThreadContext for Context {
30 #[cfg(feature = "thread-context")]
31 fn context(&self) -> OpaqueThreadContext { 30 fn context(&self) -> OpaqueThreadContext {
32 // Enabling thread-context is not incorrect, just wasteful.
33 OpaqueThreadContext(0) 31 OpaqueThreadContext(0)
34 } 32 }
35 33