aboutsummaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2019-04-17 00:17:55 +0200
committerJorge Aparicio <jorge@japaric.io>2019-04-17 00:18:02 +0200
commit210921e06ca304be4b929ca0bfbe5e7fe184a254 (patch)
treedc2cbd5dd0cac7b5687180c97fc2844c08dceea5 /macros
parent53f0ca15047c2c0ad929d1f798fc5451ae1c9f9d (diff)
now fix the fix
Diffstat (limited to 'macros')
-rw-r--r--macros/src/codegen.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/codegen.rs b/macros/src/codegen.rs
index 7e502b4..94e8cd8 100644
--- a/macros/src/codegen.rs
+++ b/macros/src/codegen.rs
@@ -1945,13 +1945,13 @@ fn pre_init(ctxt: &Context, app: &App, analysis: &Analysis) -> proc_macro2::Toke
// these are `MaybeUninit` arrays
for task in ctxt.tasks.values() {
let inputs = &task.inputs;
- exprs.push(quote!(#inputs.write(core::mem::uninit());))
+ exprs.push(quote!(#inputs.write(core::mem::uninitialized());))
}
#[cfg(feature = "timer-queue")]
for task in ctxt.tasks.values() {
let scheduleds = &task.scheduleds;
- exprs.push(quote!(#scheduleds.write(core::mem::uninit());))
+ exprs.push(quote!(#scheduleds.write(core::mem::uninitialized());))
}
// these are `MaybeUninit` `ReadyQueue`s