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

Pretty-print in place #1282

Closed
graydon opened this issue Dec 10, 2011 · 1 comment
Closed

Pretty-print in place #1282

graydon opened this issue Dec 10, 2011 · 1 comment
Labels
A-driver Area: rustc_driver that ties everything together into the `rustc` compiler A-pretty Area: Pretty printing. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@graydon
Copy link
Contributor

graydon commented Dec 10, 2011

The pp currently prints to stdout. We should support a mode wherein it does an in-memory pp, compares with the input, and writes back to the input file if there was a change. This is done by hand in our makefile now but if we want our users to use the pp we should make it as easy as possible to invoke.

This is mostly a driver bug and should be quite easy to knock out.

@ghost ghost assigned graydon Apr 12, 2012
@graydon
Copy link
Contributor Author

graydon commented Sep 12, 2012

Subsumed in #3195

@graydon graydon closed this as completed Sep 12, 2012
@graydon graydon removed their assignment Jun 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-driver Area: rustc_driver that ties everything together into the `rustc` compiler A-pretty Area: Pretty printing. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

1 participant