diff options
author | 2021-07-07 22:50:59 +0200 | |
---|---|---|
committer | 2021-07-07 23:07:09 +0200 | |
commit | 98d2af9d73da56910c8bb6cb662fbc4d609a704a (patch) | |
tree | 46914250a980b9164b2d20cbeb08e126a86cf7ea /macros/src/codegen/init.rs | |
parent | 633012190baa0801efc7e3ab2f699778c5038d54 (diff) | |
download | rtic-98d2af9d73da56910c8bb6cb662fbc4d609a704a.tar.gz rtic-98d2af9d73da56910c8bb6cb662fbc4d609a704a.tar.zst rtic-98d2af9d73da56910c8bb6cb662fbc4d609a704a.zip |
Fixing tests
Diffstat (limited to 'macros/src/codegen/init.rs')
-rw-r--r-- | macros/src/codegen/init.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/macros/src/codegen/init.rs b/macros/src/codegen/init.rs index 1bea7b7e..b6d3f72e 100644 --- a/macros/src/codegen/init.rs +++ b/macros/src/codegen/init.rs @@ -31,17 +31,6 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> CodegenResult { let mut root_init = vec![]; - // TODO: Fix locals - // let mut locals_pat = None; - // let mut locals_new = None; - // if !init.locals.is_empty() { - // let (struct_, pat) = locals::codegen(Context::Init, &init.locals, app); - - // locals_new = Some(quote!(#name::Locals::new())); - // locals_pat = Some(pat); - // root_init.push(struct_); - // } - let context = &init.context; let attrs = &init.attrs; let stmts = &init.stmts; |