about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src/error_codes/E0775.md
blob: 9fcd3a6eef741ec72679ec1aa7598ea5efd4d60b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#### Note: this error code is no longer emitted by the compiler.

`#[cmse_nonsecure_entry]` is only valid for targets with the TrustZone-M
extension.

Erroneous code example:

```ignore (no longer emitted)
#![feature(cmse_nonsecure_entry)]

pub extern "cmse-nonsecure-entry" fn entry_function() {}
```

To fix this error, compile your code for a Rust target that supports the
TrustZone-M extension. The current possible targets are:
* `thumbv8m.main-none-eabi`
* `thumbv8m.main-none-eabihf`
* `thumbv8m.base-none-eabi`