diff options
author | 2020-10-05 21:57:44 +0200 | |
---|---|---|
committer | 2020-10-05 21:57:44 +0200 | |
commit | 6bd168d711cd6304af72a106bb98f0cbebff0742 (patch) | |
tree | 7a97817c737b3c7a101a63a5be5cc368e7899d3f /macros/src/codegen/init.rs | |
parent | 4eb4c4e7b21402de7294670116da77475f48e0a2 (diff) | |
download | rtic-6bd168d711cd6304af72a106bb98f0cbebff0742.tar.gz rtic-6bd168d711cd6304af72a106bb98f0cbebff0742.tar.zst rtic-6bd168d711cd6304af72a106bb98f0cbebff0742.zip |
spawn POC works, likely unsound
Diffstat (limited to 'macros/src/codegen/init.rs')
-rw-r--r-- | macros/src/codegen/init.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/macros/src/codegen/init.rs b/macros/src/codegen/init.rs index 77d186e5..5f95f217 100644 --- a/macros/src/codegen/init.rs +++ b/macros/src/codegen/init.rs @@ -125,7 +125,13 @@ pub fn codegen( quote!(let late = crate::#name(#(#locals_new,)* #name::Context::new(core.into()));), ); - root_init.push(module::codegen(Context::Init, needs_lt, app, extra)); + root_init.push(module::codegen( + Context::Init, + needs_lt, + app, + analysis, + extra, + )); (mod_app, root_init, user_init, user_init_imports, call_init) } else { |