Open gshep opened 3 years ago
This looks like a missing intrinsic for UEFI targets.
I'd suggest opening an issue about it upstream requesting for it to be added, similar to this one:
https://github.com/rust-lang/compiler-builtins/issues/354
Short-term we can gate Rem
/RemAssign
on #[cfg(not(...))]
UEFI targets, however I'd need your help determining what the ...
looks like and validating that it compiles correctly.
Can you tell me the "target triple" for UEFI that you're using? x86_64-unknown-uefi
perhaps?
Ok, I post request in upstream.
Yes, you're correct - it is x86_64-unknown-uefi
.
Where is the upstream issue? We can link it in some comments to eventually remove the gating for the intrinsic.
Looks like it's all merged into compiler builtins
Hello! Tried to build for UEFI and got the following error:
I hacked the sources, removed
Rem/RemAssign
and built my sample but would like to wonder if this ok in common. Thanks in advance!