Auto merge of #78959 - petrochenkov:likeuefi, r=nagisa
rustc_target: Mark UEFI targets as `is_like_windows`/`is_like_msvc` And document what `is_like_windows` and `is_like_msvc` actually mean in more detail. Addresses FIXMEs left from https://github.com/rust-lang/rust/pull/71030. r? `@nagisa`
This commit is contained in:
commit
66c1309446
5 changed files with 21 additions and 15 deletions
|
@ -925,9 +925,7 @@ unsafe fn embed_bitcode(
|
|||
|| cgcx.opts.target_triple.triple().starts_with("asmjs")
|
||||
{
|
||||
// nothing to do here
|
||||
} else if cgcx.opts.target_triple.triple().contains("windows")
|
||||
|| cgcx.opts.target_triple.triple().contains("uefi")
|
||||
{
|
||||
} else if cgcx.is_pe_coff {
|
||||
let asm = "
|
||||
.section .llvmbc,\"n\"
|
||||
.section .llvmcmd,\"n\"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue