-
Notifications
You must be signed in to change notification settings - Fork 441
Move autogen to its own crate, no longer run in build.rs #2679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Could you please name the |
Co-authored-by: marc0246 <[email protected]>
Actually, I suspect that rust-analyzer is having some trouble figuring out when code is including files from outside the crate's directory structure. Because it's failing to autocomplete any of the generated names. So I'm thinking of putting it in |
I was just about to comment about that haha. That's the same issue I ran into in #2648 which forced me to put |
How's this? |
Autogen no longer runs each time you build Vulkano. Instead it builds with
cargo run --bin autogen
. The output files are placed inautogen/output
.I've also switched to the
prettyplease
crate for formatting the output, which seems to give somewhat better results thanrustfmt
.