mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-28 11:38:01 +00:00
While LLVM is rather permissive in this regards, some other codegen backends demand that once you declare a function for definition you actually define contents of the function, which doesn't happen for naked functions as we actually generate assembly for them.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.