Hello,
I want to use rust to implement some function with arm cmse, for example like this:
pub fn get_control_ns() -> u32 {
let result: u32;
unsafe {
asm!("MRS {}, control_ns", out(reg) result);
}
result
}
but there is no target_feature likes "8msecext" or "trustzone" in rustc, so the second operand is invalid, is there any workaround or can rust add some target_feature to arm's feature whitelist?