Emit _fltused on uefi targets as a short-term workaround (#317)
* Emit `_fltused` on `uefi` targets as a short-term workaround * Remove stray docker container
This commit is contained in:
parent
12283c7aca
commit
bff186bef3
1 changed files with 7 additions and 0 deletions
|
|
@ -73,3 +73,10 @@ pub unsafe fn ___chkstk() {
|
|||
);
|
||||
intrinsics::unreachable();
|
||||
}
|
||||
|
||||
// HACK(https://github.com/rust-lang/rust/issues/62785): x86_64-unknown-uefi needs special LLVM
|
||||
// support unless we emit the _fltused
|
||||
#[no_mangle]
|
||||
#[used]
|
||||
#[cfg(target_os = "uefi")]
|
||||
static _fltused: i32 = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue