diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-12 19:29:54 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-04-14 09:34:21 +0000 |
| commit | ffdc292ccaba2107dc404af2b6c96b40cb5fb6e4 (patch) | |
| tree | 7cd1811b71b3f8ed665ab0069c30059f656944db /compiler/rustc_codegen_llvm/src/lib.rs | |
| parent | 03f4e886dc28d1c6de4ccfe701f502ddfb69df1f (diff) | |
| download | rust-ffdc292ccaba2107dc404af2b6c96b40cb5fb6e4.tar.gz rust-ffdc292ccaba2107dc404af2b6c96b40cb5fb6e4.zip | |
Don't begin defining a function when codegening a naked function
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
