diff options
| author | Robin Mueller <[email protected]> | 2025-11-02 19:06:05 +0100 |
|---|---|---|
| committer | Robin Mueller <[email protected]> | 2025-11-02 19:30:23 +0100 |
| commit | fd40f3e2f2efb67434a9e7d90eb35a30e30d1736 (patch) | |
| tree | d0dc8ffcdc6ae4dc20a2b92477f34ea3e113544a /embassy-executor/build.rs | |
| parent | 3ff0b2c5971e72a93bd37d7f8fecbc8e64421360 (diff) | |
Migrate from cortex-ar to aarch32-cpu
- Feature name `arch-cortex-ar` remains the same.
- Legacy ARM architectures are not supported.
Diffstat (limited to 'embassy-executor/build.rs')
| -rw-r--r-- | embassy-executor/build.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embassy-executor/build.rs b/embassy-executor/build.rs index 37becde3e..36e23a632 100644 --- a/embassy-executor/build.rs +++ b/embassy-executor/build.rs | |||
| @@ -4,4 +4,9 @@ mod common; | |||
| 4 | fn main() { | 4 | fn main() { |
| 5 | let mut rustc_cfgs = common::CfgSet::new(); | 5 | let mut rustc_cfgs = common::CfgSet::new(); |
| 6 | common::set_target_cfgs(&mut rustc_cfgs); | 6 | common::set_target_cfgs(&mut rustc_cfgs); |
| 7 | |||
| 8 | // This is used to exclude legacy architecture support. The raw executor needs to be used for | ||
| 9 | // those architectures because SEV/WFE are not supported. | ||
| 10 | #[cfg(feature = "arch-cortex-ar")] | ||
| 11 | arm_targets::process(); | ||
| 7 | } | 12 | } |
