#[cmse_nonsecure_entry] functions require a C ABI
Erroneous code example:
#![feature(cmse_nonsecure_entry)]
#[no_mangle]
#[cmse_nonsecure_entry]
pub fn entry_function(input: Vec<u32>) {} To fix this error, declare your entry function with a C ABI, using extern "C".
© 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/E0776.html