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

Format web-sys bindings by default #1461

Merged
merged 1 commit into from Apr 15, 2019

Conversation

alexcrichton
Copy link
Contributor

This commit switches to executing rustfmt by default on
web-sys-generated bindings. This improves situations like "view
source" in Rustdoc as well as the IDE interactive debugging experience.

This was initially disabled by default because rustfmt took so long to
execute, but nowadays web-sys is by default much smaller so there's
much less need to avoid running rustfmt in fear of it taking too
long.

Closes #1457

This commit switches to executing `rustfmt` by default on
`web-sys`-generated bindings. This improves situations like "view
source" in Rustdoc as well as the IDE interactive debugging experience.

This was initially disabled by default because `rustfmt` took so long to
execute, but nowadays `web-sys` is by default much smaller so there's
much less need to avoid running `rustfmt` in fear of it taking too
long.

Closes rustwasm#1457
@alexcrichton alexcrichton merged commit 18746ec into rustwasm:master Apr 15, 2019
@alexcrichton alexcrichton deleted the rustfmt-web-sys branch April 15, 2019 17:36
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

Successfully merging this pull request may close these issues.

Bindings' long unformatted lines does not work well with RLS
2 participants