-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Compile stuck forever with --release and 1.72: yash-syntax #115297
Comments
Does your project use async? If so, then it may have been fixed by #114948. |
Thanks for your reply, yes yash-syntax is using async. |
Thanks @kpcyrd for the report and @compiler-errors for the hint! I tried with a local Rust 1.72.0 build with cherry-picked #114948, and I can confirm that with the patched Rust build, yash-syntax can now be built normally. |
@rustbot label: -regression-from-stable-to-beta +regression-from-stable-to-stable |
I think this was related to #113372 and is now fixed with Rust 1.72.1 |
I found a possible regression in rustc with a crate that builds with Rust 1.71.1, but does not build anymore with the latest 1.72.0 (the compiler seems stuck indefinitely).
This broke the build of my project (which has yash-syntax as a dependency). The problem does not seem to be present anymore with the latest 1.73.0 beta.
This only seems to happen with
cargo build --release
, the crate still builds withcargo build
.This could be related to "Const evaluation time is now unlimited" from the Rust 1.72.0 release announcement.
The
git checkout f7db5e61d24c9f79cf0fac532a47a7c12272cab1
line is currently optional (since that's the latest commit on themaster
branch), it's only there for posterity.This works (1.71.1)
This gets stuck (1.72.0)
This works again (1.73.0-beta.2)
Workaround
Adding this to my
Cargo.toml
fixed the--release
build of my project (with yash-syntax as a dependency).Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: