Commit Graph

5 Commits

Author SHA1 Message Date
Jana Dönszelmann
5c0a625205 move naked checks out of check_attr.rs 2025-06-23 12:22:57 +02:00
Folkert de Vries
df8a3d5f1d stabilize naked_functions 2025-04-20 11:18:38 +02:00
Folkert de Vries
41ddf86722 Make #[naked] an unsafe attribute 2025-04-19 00:03:35 +02:00
Folkert
c6a166bac2 switch to an allowlist approach
- merge error codes
- use attribute name that is incompatible in error message
- add test for conditional incompatible attribute
- add `linkage` to the allowlist
2024-07-27 12:55:39 +02:00
Folkert
4bd36324b6 improve error message when #[naked] is used with #[inline] 2024-07-16 23:03:13 +02:00