remove #[cmse_nonsecure_entry]

This commit is contained in:
Folkert
2024-07-31 21:04:06 +02:00
committed by Folkert de Vries
parent 1ddd67a79a
commit 5722a80782
23 changed files with 50 additions and 162 deletions

View File

@@ -3,11 +3,10 @@ extension.
Erroneous code example:
```compile_fail,E0775
```ignore (no longer emitted)
#![feature(cmse_nonsecure_entry)]
#[cmse_nonsecure_entry]
pub extern "C" fn entry_function() {}
pub extern "C-cmse-nonsecure-entry" fn entry_function() {}
```
To fix this error, compile your code for a Rust target that supports the

View File

@@ -1,8 +1,10 @@
#### Note: this error code is no longer emitted by the compiler.
`#[cmse_nonsecure_entry]` functions require a C ABI
Erroneous code example:
```compile_fail,E0776
```ignore (no longer emitted)
#![feature(cmse_nonsecure_entry)]
#[no_mangle]