aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/idle.rs
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2020-10-11 19:41:57 +0200
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2020-10-11 20:35:50 +0200
commit5b8e6a22ab68e316e11641dedf5b39e20878c7b7 (patch)
tree1bdc1812ca24203f3b99f381b1e9f8c89f60be24 /macros/src/codegen/idle.rs
parent524273c96a978299b64e51a9cdcc007585a0f170 (diff)
downloadrtic-5b8e6a22ab68e316e11641dedf5b39e20878c7b7.tar.gz
rtic-5b8e6a22ab68e316e11641dedf5b39e20878c7b7.tar.zst
rtic-5b8e6a22ab68e316e11641dedf5b39e20878c7b7.zip
Fixing examples and tests, modules now import user imports correctly
Fmt Correct syntax crate UI test fix Fix build script Cleanup More cleanup
Diffstat (limited to 'macros/src/codegen/idle.rs')
-rw-r--r--macros/src/codegen/idle.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/macros/src/codegen/idle.rs b/macros/src/codegen/idle.rs
index 78fac96b..5e73329f 100644
--- a/macros/src/codegen/idle.rs
+++ b/macros/src/codegen/idle.rs
@@ -62,8 +62,13 @@ pub fn codegen(
root_idle.push(locals);
}
- root_idle.push(module::codegen(Context::Idle, needs_lt, app,analysis, extra));
-
+ root_idle.push(module::codegen(
+ Context::Idle,
+ needs_lt,
+ app,
+ analysis,
+ extra,
+ ));
let attrs = &idle.attrs;
let context = &idle.context;