Newer versions of rustc (possibly nightly only?) automatically produce log files named like rustc-ice-2023-08-21T15:55:30.315378Z-2018.txt if the compiler panics. If cargo watch is used and the compiler panics, this will create an infinite loop as cargo watch sees the new file from each run and recompiles.
It would probably be good to ignore these files automatically.
Newer versions of rustc (possibly nightly only?) automatically produce log files named like
rustc-ice-2023-08-21T15:55:30.315378Z-2018.txt
if the compiler panics. Ifcargo watch
is used and the compiler panics, this will create an infinite loop ascargo watch
sees the new file from each run and recompiles.It would probably be good to ignore these files automatically.