mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 22:35:19 +01:00
Break out core specific codegen to bindings
This commit is contained in:
parent
1cda61fbda
commit
60f0342b69
16 changed files with 654 additions and 622 deletions
|
|
@ -8,7 +8,6 @@ use proc_macro::TokenStream;
|
|||
use std::{env, fs, path::Path};
|
||||
|
||||
mod analyze;
|
||||
mod bindings;
|
||||
mod check;
|
||||
mod codegen;
|
||||
mod syntax;
|
||||
|
|
@ -38,7 +37,7 @@ pub fn app(args: TokenStream, input: TokenStream) -> TokenStream {
|
|||
Ok(x) => x,
|
||||
};
|
||||
|
||||
if let Err(e) = check::app(&app) {
|
||||
if let Err(e) = check::app(&app, &analysis) {
|
||||
return e.to_compile_error().into();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue