mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
ffdc292cca
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.