1 `#[cmse_nonsecure_entry]` is only valid for targets with the TrustZone-M
4 Erroneous code example:
7 #![feature(cmse_nonsecure_entry)]
9 #[cmse_nonsecure_entry]
10 pub extern "C" fn entry_function() {}
13 To fix this error, compile your code for a Rust target that supports the
14 TrustZone-M extension. The current possible targets are:
15 * `thumbv8m.main-none-eabi`
16 * `thumbv8m.main-none-eabihf`
17 * `thumbv8m.base-none-eabi`