-
Notifications
You must be signed in to change notification settings - Fork 107
ICE building chrono #1464
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
Comments
|
Codegening the static in the following is enough to cause this ICE: const fn no_str() -> Option<Box<str>> {
None
}
static STATIC_WITH_MAYBE_NESTED_BOX: &Option<Box<str>> = &no_str(); |
Should be fixed in the latest version of cg_clif in this repo. Will open a PR to sync it to the rust repo to get the rustup distributed version fixed later today. In the mean time you can download a prebuilt version from https://github.com/rust-lang/rustc_codegen_cranelift/releases/tag/dev |
The first nightly after rust-lang/rust#122599 merges will have this fix. |
Should be fixed with the latest nightly. |
rustc 1.78.0-nightly (c67326b06 2024-03-15)
To reproduce:
The previous commit builds okay.
The text was updated successfully, but these errors were encountered: