We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6823ba commit 6e77729Copy full SHA for 6e77729
src/librustc_codegen_llvm/back/write.rs
@@ -853,7 +853,9 @@ unsafe fn embed_bitcode(
853
|| cgcx.opts.target_triple.triple().starts_with("asmjs")
854
{
855
// nothing to do here
856
- } else if cgcx.opts.target_triple.triple().contains("windows") {
+ } else if cgcx.opts.target_triple.triple().contains("windows")
857
+ || cgcx.opts.target_triple.triple().contains("uefi")
858
+ {
859
let asm = "
860
.section .llvmbc,\"n\"
861
.section .llvmcmd,\"n\"
0 commit comments