-
Notifications
You must be signed in to change notification settings - Fork 13.3k
LLVM assertion when cargo build
ing std
with panic=abort
#37252
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Ayup that'd do it. We should probably turn |
japaric
pushed a commit
to japaric/rust
that referenced
this issue
Nov 24, 2016
with this feature disabled, you can (Cargo) compile std with "panic=abort" rustbuild will build std with this feature enabled, to maintain the status quo fixes rust-lang#37252
bors
added a commit
that referenced
this issue
Nov 25, 2016
std: make compilation of libpanic_unwind optional via a Cargo feature with this feature disabled, you can (Cargo) compile std with "panic=abort" rustbuild will build std with this feature enabled, to maintain the status quo fixes #37252 r? @alexcrichton
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
STR
Meta
The issue, I think, is that Cargo tries to build
panic_unwind
withpanic=abort
. Perhaps, we could fix this by adding a Cargo feature thatdisables the compilation of
panic_unwind
and that's supposed to be used inconjunction with
panic=abort
. Of course, it'd be better if this was automaticbut I don't think that's possible.
cc @alexcrichton
cc #36610
The text was updated successfully, but these errors were encountered: