-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling std for UEFI with panic=abort fails #98133
Comments
Unless a crate defines the When using rust/library/panic_abort/src/lib.rs Lines 90 to 156 in a4cec97
@rustbot label +A-runtime +T-libs |
Hi @eggyal , I no longer seem to be getting the error from the latest master. Previously I was using a v1.61.0 commit. So maybe it was fixed after that? |
Possibly fixed by #96959 ? |
@eggyal. Maybe, and it seems to be a much better approach than what I was doing. I am closing this issue for now. |
I am trying to implement std for the UEFI targets as a part of my GSoC project. I am currently trying to build std using the
#![feature(restricted_std)]
. When I try to compilestd
along withpanic_abort
, I get the following error:This error of course is caused due to the UEFI target having
"is-like-msvc": true
in thetarget.json
.I know it can be fixed by adding a blank implementation for
__CxxFrameHandler3
:I wanted to ask if this is expected behavior or a bug? I thought setting
panic=abort
should mean that I don't need unwinding.Here is my
.cargo/config.toml
:Cargo.toml
The text was updated successfully, but these errors were encountered: