diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml
index e2fedce3c8..fb566d4420 100644
--- a/embassy-executor/Cargo.toml
+++ b/embassy-executor/Cargo.toml
@@ -62,6 +62,8 @@ critical-section = { version = "1.1", features = ["std"] }
## Enable nightly-only features
nightly = ["embassy-executor-macros/nightly"]
+alloc = []
+
# Enables turbo wakers, which requires patching core. Not surfaced in the docs by default due to
# being an complicated advanced and undocumented feature.
# See: https://github.com/embassy-rs/embassy/pull/1263
diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs
index d9ea5c0057..6744f74a73 100644
--- a/embassy-executor/src/raw/mod.rs
+++ b/embassy-executor/src/raw/mod.rs
@@ -45,7 +45,7 @@ pub(crate) struct TaskHeader {
pub(crate) state: State,
pub(crate) run_queue_item: RunQueueItem,
pub(crate) executor: SyncUnsafeCell