This commit is contained in:
Albin Hedman 2025-11-19 22:59:25 +01:00
parent e0d4627e35
commit 82c9d75a06

View file

@ -227,11 +227,11 @@ pub fn codegen(ctxt: Context, app: &App, analysis: &Analysis) -> TokenStream2 {
}
));
module_items.push(quote!{
module_items.push(quote!(
#(#cfgs)*
#[doc(inline)]
pub use super::#internal_spawn_ident as spawn;
});
));
let tasks_on_same_executor: Vec<_> = app
.software_tasks
@ -239,7 +239,6 @@ pub fn codegen(ctxt: Context, app: &App, analysis: &Analysis) -> TokenStream2 {
.filter(|(_, t)| t.args.priority == priority)
.collect();
let local_spawner = util::internal_task_ident(t, "LocalSpawner");
let tasks = tasks_on_same_executor
.iter()