-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustc query cycle handler panic #136453
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Can you share more information about how you're invoking the Rust compiler? Are you passing any |
yes, forgot to write about custom config .cargo/config.toml [target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = [
"-C",
# fast unstable linker
"link-arg=-fuse-ld=mold",
# (Nightly) Make the current crate share its generic instantiations
"-Zshare-generics=y",
"-Zthreads=0",
]
[unstable]
codegen-backend = true
[profile.dev]
codegen-backend = "cranelift"
[profile.dev.package."*"]
codegen-backend = "llvm" |
Does reproducing this require code from |
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaah I know what this is. It's the driver queries with |
Summary: this is fixed on nightly. Whenever you're using nightly, the error messages mention to update and check again, for that very reason.
This is a duplicate of #135870 and was already fixed by #135988. I've verified that updating your toolchain to at least Thanks for opening an issue! |
confirm, after update to latest nightly, I get correct error message |
It is an invalid data structure (because it is recursive), and the complier can't know size on compile time.
But compiler panic is unexpected here.
Code
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: