Skip to content
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

rustic-fmt should allow universal optional #55

Open
psibi opened this issue Oct 9, 2024 · 3 comments
Open

rustic-fmt should allow universal optional #55

psibi opened this issue Oct 9, 2024 · 3 comments

Comments

@psibi
Copy link
Member

psibi commented Oct 9, 2024

This should allow it to pass custom arguments etc.

@psibi
Copy link
Member Author

psibi commented Oct 11, 2024

As an workaround I have set rustic-rustfmt-args now, but I would like to have the ability to pass custom arguments.

@CeleritasCelery
Copy link
Contributor

I honestly think it would be helpful to have consistent interfaces to all the functions. Things like overriding the arguments or hooks have to be implemented for each one. It think it would be nice to something like rustic-define-command macro that sets that all up. It would also make it easy to add your own commands like Miri.

@psibi
Copy link
Member Author

psibi commented Oct 11, 2024

I agree and I think it's going to be much nicer than what we have now. But from what I understand, that's a relatively huge amount of work to make it backward compatible with what we have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants