mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-06 09:36:56 +00:00
Never inline naked functions The `#[naked]` attribute disabled prologue / epilogue emission for the function and it is responsibility of a developer to provide them. The compiler is no position to inline such functions correctly. Disable inlining of naked functions at LLVM and MIR level. Closes #60919.