0

I'm about to build a Rust project but I want to build it with Rust nightly 1.11.0.

At the moment I'm only able to do so:

language: rust
rust: 
  - nightly 
  - 1.11.0

which builds nightly (latest version 1.13.0 which breaks my build) and the stable 1.11.0 which I cannot use either because I need nightly 1.11.0!

So any way I can set this up? I tried - nightly 1.11.0 but that seems to be a wrong config.

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366
xetra11
  • 7,671
  • 14
  • 84
  • 159
  • The real answer is to update your code to support the newest nightly. If something changed from the nightly, it's not super likely it will change back (unless there was a bug or a good reason the new version is incorrect). – Shepmaster Aug 22 '16 at 14:53
  • I'm using a testing framework which did not updated to the newest nightly but still works with 1.11.0. I already issued the problem but meanwhile want to have my tests run through – xetra11 Aug 22 '16 at 14:59
  • Certainly! I just didn't want anyone reading this to think that sticking with an old version of nightly was a good long-term solution. – Shepmaster Aug 22 '16 at 15:00
  • He okay I got you - btw. you know a way to do what I wanted to in Travis CI? – xetra11 Aug 22 '16 at 15:34
  • 1
    Oh, good point. Looks like Travis is using rustup.sh, not rustup.rs. I've updated the linked duplicate with instructions that should work. – Shepmaster Aug 22 '16 at 17:27

0 Answers0