#![feature(default_alloc_error_handler)]
caues linker error for target x86_64-unknown-uefi
#96793
Labels
C-bug
Category: This is a bug.
Using the feature
default_alloc_error_handler
in combination with the x64 UEFI target causes a liker error on the symbolrust_oom
.I tried this code:
compile with:
I expected the code to compile.
Instead, I get the following linker error:
Using
#![feature(alloc_error_handler)]
with an error handler like this compiles as expected:Meta
rustc --version --verbose
:related: #95113
cc: #66741
The text was updated successfully, but these errors were encountered: