You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
I'm not entirely sure if there is a universally sane way to handle this, but I'm seeing a lot of spurious gdns files being made during development when I try various type names, since I've configured rust-analyzer to check the project on save. The easiest way, I believe, would be adding an option to automatically delete orphaned gdns files in the output directory. This would of course destroy any custom changes made on the files, so it's not ideal, but it should suffice for simple use cases.
Another approach might be somehow detecting whether the crate is actually being built with a cargo build command, if possible, and skip generation if not. An option might also be added for this, although I doubt it'll be very useful to opt out of this.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm not entirely sure if there is a universally sane way to handle this, but I'm seeing a lot of spurious
gdns
files being made during development when I try various type names, since I've configured rust-analyzer to check the project on save. The easiest way, I believe, would be adding an option to automatically delete orphanedgdns
files in the output directory. This would of course destroy any custom changes made on the files, so it's not ideal, but it should suffice for simple use cases.Another approach might be somehow detecting whether the crate is actually being built with a
cargo build
command, if possible, and skip generation if not. An option might also be added for this, although I doubt it'll be very useful to opt out of this.The text was updated successfully, but these errors were encountered: