-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
ICE running clippy on embedded crate in release mode #59898
Comments
Can reproduce it on linux. Using the latest git version also works (stm32-rs/stm32f4xx-hal@23dd28d) as well. |
This has something to do with the given The |
Confirmed this is a regression from stable to stable, which is fixed in beta/nightly. Bisecting the fix. cc @rust-lang/compiler @rust-lang/release |
The issue is fixed by #58605, which for whatever reason wasn't beta-nominated. stable-nominating it. |
This is effectively a duplicate of #58323, which just resurfaced and broke my build again :( https://travis-ci.org/jonas-schievink/rubble/builds/519713130 |
triage: P-high due to ICE. removing nomination tag since I don't think there's much to discuss here. (PR #58605 we will discuss as part of stable-nominations discussion.) |
I'm going to close this as fixed, in the sense that we've landed a fix (PR #58605) that is currently in the beta branch, and is not going to be backported to stable. |
Running clippy with
cargo clippy --release --features="stm32f429"
on cratestm32f4xx-hal
in version 0.3.0 results in the following ICE:Works fine in dev mode. Also works fine with
--release
in beta (rustc 1.35.0-beta.1 (2bc1d40 2019-04-10)) and nightly (rustc 1.35.0-nightly (96d700f 2019-04-10)).Meta:
Backtrace:
The text was updated successfully, but these errors were encountered: