building rustc with autodiff and debug enabled fails. #139704
Labels
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
F-autodiff
`#![feature(autodiff)]`
I tried this code:
I expected to see this happen: builds rustc
Instead, this happened:
Meta
rustc --version --verbose
:I know that debug builds used to work a few months ago.
So one could try to debug this by looking at the code. A much simpler solution probably is just
to do some binary search by building some older PR from the tracking issue with debug=true until finding one that builds. From there it should be easy to figure out which PR introduced the bug. Once that's clear it is hopefully easier to understand which change introduced the bug, and either directly fix it, or ask for help here or in the zulip channel. I'm marking it as easy, since it takes a bit of time to test multiple PRs but it isn't overly complex, and we had support for it and didn't introduce overly complex code changes in the last months. So the fix is likely also comparably simple.
This bug prevents us from enabling autodiff in CI and thus nightly, so any help would be appreciated!
Backtrace
The text was updated successfully, but these errors were encountered: