mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
adapt to changes in rtfm-syntax
This commit is contained in:
parent
2f4f185778
commit
0e146f8d11
11 changed files with 28 additions and 14 deletions
|
|
@ -83,6 +83,7 @@ pub fn codegen(
|
|||
let attrs = &init.attrs;
|
||||
let stmts = &init.stmts;
|
||||
let section = util::link_section("text", core);
|
||||
let locals_pat = locals_pat.iter();
|
||||
let user_init = Some(quote!(
|
||||
#(#attrs)*
|
||||
#cfg_core
|
||||
|
|
@ -102,6 +103,7 @@ pub fn codegen(
|
|||
const_app = Some(constructor);
|
||||
}
|
||||
|
||||
let locals_new = locals_new.iter();
|
||||
let call_init =
|
||||
Some(quote!(let late = #name(#(#locals_new,)* #name::Context::new(core.into()));));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue