1
Fork 0

allow #[target_feature] on #[naked] functions

This commit is contained in:
Folkert 2024-07-23 16:02:32 +02:00
parent c6a166bac2
commit a3bb0104ff
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
5 changed files with 7 additions and 27 deletions

View file

@ -5,7 +5,6 @@ Notable attributes that are incompatible with `#[naked]` are:
* `#[inline]`
* `#[track_caller]`
* `#[target_feature]`
* `#[test]`, `#[ignore]`, `#[should_panic]`
Erroneous code example: