mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
add homogeneous multi-core support
This commit is contained in:
parent
81275bfa4f
commit
9897728709
33 changed files with 385 additions and 53 deletions
|
|
@ -49,7 +49,11 @@ pub fn codegen(
|
|||
quote!(#name::Locals::new(),)
|
||||
};
|
||||
|
||||
let symbol = task.args.binds(name);
|
||||
let symbol = if cfg!(feature = "homogeneous") {
|
||||
util::suffixed(&task.args.binds(name).to_string(), core)
|
||||
} else {
|
||||
task.args.binds(name).clone()
|
||||
};
|
||||
let priority = task.args.priority;
|
||||
|
||||
const_app.push(quote!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue