Module naked_functions

Source
Expand description

Checks validity of naked functions.

Structs§

CheckInlineAssembly 🔒
CheckNakedAsmInNakedFn 🔒
CheckParameters 🔒

Enums§

ItemKind 🔒

Functions§

check_abi 🔒
Checks that function uses non-Rust ABI.
check_asm 🔒
Checks that function body contains a single inline assembly block.
check_mod_naked_functions 🔒
check_no_parameters_use 🔒
Checks that function parameters aren’t used in the function body.
check_no_patterns 🔒
Checks that parameters don’t use patterns. Mirrors the checks for function declarations.
provide 🔒