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

CI: disable nightly rustfmt (tmp) #541

Closed
wants to merge 1 commit into from
Closed

Conversation

junhochoi
Copy link
Contributor

Since nightly rustfmt is not coming back a week, disable it
temporarily.

https://rust-lang.github.io/rustup-components-history/

Since nightly rustfmt is not coming back a week, disable it
temporarily.

https://rust-lang.github.io/rustup-components-history/
@junhochoi junhochoi requested a review from a team as a code owner May 26, 2020 06:11
@ghedo
Copy link
Member

ghedo commented May 29, 2020

It looks like rustfmt will be fixed soon (rust-lang/rust#72671) so this is not needed anymore I think.

Though for the future, instead of disabling rustfmt, a better fix would be to pin to an older nightly version that has the required components, like so:

commit e3718528cb9ad9c2550c6eeef564ac3d0ad8d7a3 (HEAD -> travis-nightly, origin/travis-nightly)
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date:   Fri May 29 15:15:33 2020 +0100

    travis: pin rust nightly to latest with rustfmt

diff --git a/.travis.yml b/.travis.yml
index 15c6d8ab..6a1994bb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -51,7 +51,7 @@ matrix:
       - make docker-build
    - name: "nightly Linux x86_64"
      language: rust
-     rust: nightly
+     rust: nightly-2020-05-14
      addons:
        apt:
          packages:

@junhochoi
Copy link
Contributor Author

Sure. Your patch should work too. I'll close this one once rustfmt is back today or tomorrow.

@junhochoi
Copy link
Contributor Author

rustfmt is back in nightly. Closing.

@junhochoi junhochoi closed this May 30, 2020
@ghedo ghedo deleted the disable_rustfmt_tmp branch July 14, 2020 11:30
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.

2 participants