Error code E0776

#[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>) {}
Run

To fix this error, declare your entry function with a C ABI, using extern "C".

Back to list of error codes