#[cmse_nonsecure_entry] is only valid for targets with the TrustZone-M extension.
Erroneous code example:
#![feature(cmse_nonsecure_entry)]
pub extern "cmse-nonsecure-entry" fn entry_function() {} To fix this error, compile your code for a Rust target that supports the TrustZone-M extension. The current possible targets are:
thumbv8m.main-none-eabithumbv8m.main-none-eabihfthumbv8m.base-none-eabi
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0775.html