Uh oh!
There was an error while loading. Please reload this page.
Update rustfmt to 0.3.6 - #47454
Conversation
topecongiro
commented
Jan 16, 2018
Currently rustfmt and rls is missing from the nightly component. This PR brings those two back. |
There was a problem hiding this comment.
Since we are building rustfmt in the compiler, it's strange we in turn depend on an external, older copy of these crates; besides, these will almost always be outdated (the current version is 14, for instance).
The advantage of this is that compiler changes will less likely to break rustfmt on nightly.
Not sure if we want to r+ as-is or require a [patch] section.
There was a problem hiding this comment.
@petrochenkov It shouldn't affect build times since those two builds don't touch rustfmt/rls.
There was a problem hiding this comment.
@kennytm same thing will happen to rls, however rls uses a locally-patched version of rustfmt, so I assume it'll work as intended, provided that rustfmt compiles as expected in-tree, with [patch]ed deps or not, no?
There was a problem hiding this comment.
It is intentional to depend on an older version of the crate, it means that breakage in libsyntax doesn't break rustfmt (and the RLS), which is the whole reason for doing this. Using [patch] would prevent that happening.
nrc
commented
Jan 18, 2018
@bors: r+ p=1 |
bors
commented
Jan 18, 2018
📌 Commit 1f0f46e has been approved by |
topecongiro
commented
Jan 18, 2018
@nrc rustfmt 0.3.5 has a bug which is likely to appear in many places (cc rust-lang/rustfmt#2370 and rust-lang/rustfmt#2374). As such, I am going to publish 0.3.6 and use it instead. |
kennytm
commented
Jan 18, 2018
@bors r- Waiting for author to update to 0.3.6 |
1f0f46e to
8057443Comparetopecongiro
commented
Jan 18, 2018
Updated rustfmt to 0.3.6. |
kennytm
commented
Jan 18, 2018
@bors r=nrc |
bors
commented
Jan 18, 2018
📌 Commit 8057443 has been approved by |
@bors r- @topecongiro Could you rebase on the latest master to resolve the |
bors
commented
Jan 18, 2018
☔ The latest upstream changes (presumably #47280) made this pull request unmergeable. Please resolve the merge conflicts. |
8057443 to
5ae8fa9Comparetopecongiro
commented
Jan 18, 2018
Rebased on the latest master. |
kennytm
commented
Jan 18, 2018
@bors r=nrc |
bors
commented
Jan 18, 2018
📌 Commit 5ae8fa9 has been approved by |
Fixes a possible bug from 0.3.5 (rust-lang/rust#47454 (comment)) and prepares the RLS repo to be updated in Rust tree.
bors
commented
Jan 18, 2018
⌛ Testing commit 5ae8fa9 with merge f703782c49196ffa110c97ad262a8498570b5e0a... |
bors
commented
Jan 18, 2018
💔 Test failed - status-appveyor |
kennytm
commented
Jan 19, 2018
@bors retry 3 hour timeout. |
bors
commented
Jan 19, 2018
bors
commented
Jan 19, 2018
☀️ Test successful - status-appveyor, status-travis |
Tested on commit rust-lang/rust@b71cbd8. 🎉 rls on windows: build-fail → test-pass. 🎉 rls on linux: build-fail → test-pass. 🎉 rustfmt on windows: build-fail → test-pass. 🎉 rustfmt on linux: build-fail → test-pass.
Fixes a possible bug from 0.3.5 (rust-lang/rust#47454 (comment)) and prepares the RLS repo to be updated in Rust tree.
r? @nrc