From ec6bd27df6101bc5f77fa4eace0e8963970231ad Mon Sep 17 00:00:00 2001 From: Dániel Buga Date: Mon, 14 Aug 2023 08:22:22 +0200 Subject: Remove thread-context feature --- embassy-executor/src/arch/cortex_m.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'embassy-executor/src/arch/cortex_m.rs') diff --git a/embassy-executor/src/arch/cortex_m.rs b/embassy-executor/src/arch/cortex_m.rs index 6c1300ae5..a29e5b23e 100644 --- a/embassy-executor/src/arch/cortex_m.rs +++ b/embassy-executor/src/arch/cortex_m.rs @@ -21,9 +21,7 @@ mod thread { pub struct Context; impl ThreadContext for Context { - #[cfg(feature = "thread-context")] fn context(&self) -> OpaqueThreadContext { - // Enabling thread-context is not incorrect, just wasteful. OpaqueThreadContext(0) } -- cgit