Error code E0781

The C-cmse-nonsecure-call ABI can only be used with function pointers.

Erroneous code example:

#![feature(abi_c_cmse_nonsecure_call)]

pub extern "C-cmse-nonsecure-call" fn test() {}
Run

The C-cmse-nonsecure-call ABI should be used by casting function pointers to specific addresses.

Back to list of error codes