diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2019-08-20 15:11:24 +0200 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2019-08-20 15:17:37 +0200 |
| commit | 0e146f8d1142672725b6abb38478f503a9261c80 (patch) | |
| tree | 846aedddb91908ac831cd15f7877d5ccfbd9a039 /macros/src/codegen/idle.rs | |
| parent | 2f4f1857788a3c2c5e8b97a5b7cc2c39c26c659f (diff) | |
adapt to changes in rtfm-syntax
Diffstat (limited to 'macros/src/codegen/idle.rs')
| -rw-r--r-- | macros/src/codegen/idle.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macros/src/codegen/idle.rs b/macros/src/codegen/idle.rs index d656076..35a7252 100644 --- a/macros/src/codegen/idle.rs +++ b/macros/src/codegen/idle.rs @@ -58,6 +58,7 @@ pub fn codegen( let context = &idle.context; let stmts = &idle.stmts; let section = util::link_section("text", core); + let locals_pat = locals_pat.iter(); let user_idle = Some(quote!( #(#attrs)* #[allow(non_snake_case)] @@ -70,6 +71,7 @@ pub fn codegen( } )); + let locals_new = locals_new.iter(); let call_idle = quote!(#name( #(#locals_new,)* #name::Context::new(&rtfm::export::Priority::new(0)) |
