-
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
const eval interpreter step limit being hit on nightly for long-running while loop #103814
Comments
cc #67217 |
See also discussion in #93481 (if there are other issues filed for this regression, or if there's a precedent for not filing such issues for this particular regression, then my apologies. I searched and couldn't find evidence to not file it.) |
Mitigates model-checking#1822 which is caused by rust-lang/rust#103814. Ps.: I also bumped cbmc min version since older versions don't work with Kani.
This apparently affects |
BTW, we started seeing this issue on |
Downgrade the rust toolchain for the nighly before the current version. This mitigates #1822 which is caused by rust-lang/rust#103814. Ps.: I also bumped cbmc min version since older versions don't work with Kani.
I was able to workaround this issue by replacing |
I dropped the length of How did this get past the compiler perf monitoring? Surely we didn't merge a PR in that time window that regressed one of the secondary benchmarks by 11%, right? Is this some workload that's just very different from |
WG-prioritization assigning priority (Zulip discussion) (also to stimulate a wider T-compiler discussion about it) @rustbot label -I-prioritize +P-high |
visiting during T-compiler meeting on Zulip: followup discussion on this Zulip stream @rustbot label -I-compiler-nominated |
…nkfelix Bump the const eval step limit fixes rust-lang#103814 rust-lang#103877 has too much of an impact to beta backport. So let's just increase the limit, avoiding the immediate breakage. r? `@pnkfelix`
I tried this code (playpen):
I expected to see this happen: Code compiles, test runs and passes.
Instead, this happened: Code fails to compile, due to:
It does not occur on stable or beta.
(To be clear: I suspect this might be a const-eval implementation artifact that we cannot readily address. But we may need to figure out how to give better guidance, since the current diagnostic is telling people to muck with an attribute that is not available without opting into a feature gate.)
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: