about summary refs log tree commit diff
path: root/tests/ui/asm/naked-functions-inline.rs
AgeCommit message (Collapse)AuthorLines
2025-04-20stabilize `naked_functions`Folkert de Vries-1/+0
2025-04-19Make `#[naked]` an unsafe attributeFolkert de Vries-10/+10
2024-09-09bootstrap `naked_asm!` for `compiler-builtins`Folkert de Vries-6/+6
in this commit, `naked_asm!` is an alias for `asm!` with one difference: `options(noreturn)` is always enabled by `naked_asm!`. That makes it future-compatible for when `naked_asm!` starts disallowing `options(noreturn)` later.
2024-07-27switch to an allowlist approachFolkert-0/+7
- 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-16improve error message when `#[naked]` is used with `#[inline]`Folkert-0/+31