-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Building libstd without any features does not work #56228
Comments
This looks like it's likely related to compiling with panic=unwind, if panic=abort is used does it fix the error? |
That gets me a bit further, but libtest still fails to build:
Seems libtest does not support panic=abort? |
Ah yeah that's true, libtest currently has no way to work with panic abort |
Should this be closed? It seems unlikely to me that libtest will get support for panic=abort, and libstd appears to build fine now (which this issue is about). |
@jonas-schievink so you tested libstd with no features and no compiler flags? |
No, but that failure looked expected to me. Perhaps I misread though. |
I see. So that would be considering panic_unwind / panic_abort features mandatory in the sense that they cannot both be left off. I could live with that, but it should be better documented in the |
so wait how do you fix this |
@walksanatora I'm not sure how to fix your exact problem, but it doesn't look related to the original issue. The issue tracker is not a support forum. For future questions please ask in one of these places: https://discord.gg/rust-lang/ |
Building libstd without any features set leads to
Looks like we try to use that crate even if the feature is not set (and hence the dependency not enabled in Cargo.toml)?
Cc @alexcrichton
The text was updated successfully, but these errors were encountered: