about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2022-11-22 01:26:08 -0500
committerGitHub <noreply@github.com>2022-11-22 01:26:08 -0500
commit952d385121a633db28a0d28d2dbb8289bd0a844f (patch)
treeec9a2cb182d7767fd66587a44e6b35b0c279dc69 /compiler/rustc_codegen_gcc/src/errors.rs
parent3683c43a0577df9d4197b619ae788b5f4ea5d1f2 (diff)
parent60546088bcfa9ce210a5b0f92079f7642f3b466b (diff)
downloadrust-952d385121a633db28a0d28d2dbb8289bd0a844f.tar.gz
rust-952d385121a633db28a0d28d2dbb8289bd0a844f.zip
Rollup merge of #104622 - nicholasbishop:bishop-uefi-clang, r=Mark-Simulacrum
Use clang for the UEFI targets

This fixes an issue where the C and asm sources built by compiler_builtins were being compiled as ELF objects instead of PE objects. This wasn't noticed before because it doesn't cause compiler_builtins or rustc to fail to build. You only see a failure when a program is built that references one of the symbols in an ELF object.

Compiling with clang fixes this because the cc crate converts the UEFI targets into Windows targets that clang understands, causing it to produce PE objects.

Also update compiler_builtins to 0.1.84 to pull in some necessary fixes for compiling the UEFI targets with clang.

Fixes https://github.com/rust-lang/rust/issues/104326
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions