mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
now fix the fix
This commit is contained in:
parent
53f0ca1504
commit
210921e06c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue