Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

rustc-ice-*.txt files are watched, causing infinite loop of recompiling #277

Closed
kpreid opened this issue Aug 21, 2023 · 1 comment
Closed

Comments

@kpreid
Copy link

kpreid commented Aug 21, 2023

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.

passcod added a commit that referenced this issue Aug 29, 2023
@passcod
Copy link
Member

passcod commented Aug 30, 2023

Thanks! Added in 8.4.1

@passcod passcod closed this as completed Aug 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants