TheBevyFlock / bevy_cli

A Bevy CLI tool and linter.
https://thebevyflock.github.io/bevy_cli/
Apache License 2.0
52 stars 7 forks source link

Improve lint driver entrypoint #124

Closed BD103 closed 1 month ago

BD103 commented 1 month ago

This makes the bevy_lint_driver binary behave a bit more like clippy-driver, which means it also behaves a bit more like rustc. Some changes include:

I'm currently debugging an issue with this where serde_derive fails to compile (I believe it's the rustc_driver::args::raw_args() call), so I'll update this when I fix it. :)

BD103 commented 1 month ago

although I don't really have any experience with the rustc internals :)

That's fine! I don't expect you to know rustc internals, I just want a second set of eyes for testing and code quality reasons. :)