Start CI, disable docs building

This commit is contained in:
Emil Fresk 2023-01-08 21:33:44 +01:00 committed by Henrik Tjäder
parent 3cfb95a5db
commit cb588c9128
14 changed files with 299 additions and 313 deletions

View file

@ -84,9 +84,7 @@ pub fn codegen(app: &App, analysis: &Analysis) -> TokenStream2 {
}
if level > 0 {
let doc = format!(
"Interrupt handler to dispatch async tasks at priority {level}"
);
let doc = format!("Interrupt handler to dispatch async tasks at priority {level}");
let attribute = &interrupts.get(&level).expect("UNREACHABLE").1.attrs;
items.push(quote!(
#[allow(non_snake_case)]

View file

@ -39,9 +39,7 @@ impl HardwareTask {
Err(parse::Error::new(
span,
format!(
"this task handler must have type signature `fn({name}::Context)`"
),
format!("this task handler must have type signature `fn({name}::Context)`"),
))
}
}
@ -82,9 +80,7 @@ impl HardwareTask {
Err(parse::Error::new(
span,
format!(
"this task handler must have type signature `fn({name}::Context)`"
),
format!("this task handler must have type signature `fn({name}::Context)`"),
))
}
}

View file

@ -34,9 +34,7 @@ impl Idle {
Err(parse::Error::new(
item.sig.ident.span(),
format!(
"this `#[idle]` function must have signature `fn({name}::Context) -> !`"
),
format!("this `#[idle]` function must have signature `fn({name}::Context) -> !`"),
))
}
}

View file

@ -33,9 +33,7 @@ impl SoftwareTask {
Err(parse::Error::new(
span,
format!(
"this task handler must have type signature `async fn({name}::Context)`"
),
format!("this task handler must have type signature `async fn({name}::Context)`"),
))
}
}
@ -70,9 +68,7 @@ impl SoftwareTask {
Err(parse::Error::new(
span,
format!(
"this task handler must have type signature `async fn({name}::Context)`"
),
format!("this task handler must have type signature `async fn({name}::Context)`"),
))
}
}