Open michaelwoerister opened 6 years ago
It looks like there's already an LLVM upstream bug report here: https://bugs.llvm.org/show_bug.cgi?id=38341. It looks like exception handling for WinARM64 will land soon: https://bugs.llvm.org/show_bug.cgi?id=38341#c5
Trying to cross-compile libcore for
aarch64-pc-windows-msvc
fails with (see also https://github.com/rust-lang/rust/issues/54190#issuecomment-421968456):(Note, one has to use
link.exe
instead of LLD as the linker (see #54290) in order to get that far.)The underlying problem is (probably) that
aarch64-pc-windows-msvc
defaults topanic_abort
, whilelibstd
is unconditionally compiled withpanic_unwind
. All other targets that hard-codepanic_abort
are probably#[no_std]
?Making
aarch64-pc-windows-msvc
usepanic_unwind
like the other non-embedded platforms leads to LLVM running into an error while trying to compilelibcore
: