-
Notifications
You must be signed in to change notification settings - Fork 413
Remove stable cargo feature default-run
#827
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
Conversation
|
We can only do this once the bootstrap-cargo used by rustc also has this as a stable feature. Is that the case? |
|
Looks like that is When did |
|
I think it is https://static.rust-lang.org/dist/2019-07-04/rustc-beta-x86_64-unknown-linux-gnu.tar.gz . |
|
Yeah looks like it is new enough then. Thanks! @bors r+ |
|
📌 Commit afdd8a3 has been approved by |
|
Actually, this seems to fail on CI. I think CI uses stable cargo currently. @bors r- |
|
Hm, I should update the rust-toolchain file then. |
|
You could try changing that to Line 34 in 3525943
Line 22 in 3525943
In that case please also open an issue so that we remember to change it back to |
No, that has no effect on the cargo we use. It just determines the rustc. |
|
I think it should work now. |
|
No that will definitely not work. Miri needs lots of updating to work with latest rustc. And even then it will still use stable |
|
I would prefer to defer this PR until we sort out issue with latest rustc in |
|
But why? This is about updating cargo. The other PRs are about updating rustc. Those two are updated entirely independently for our CI. Fixing this PR is trivial, and I showed you the two lines you will have to change to make that work. :) |
|
Thanks. My assumption is wrong. I opened a tracking issue in #828. |
|
Hm, CI still uses cargo from master to build. |
|
Hm, either that or it didn't actually install |
|
Maybe try removing the |
|
Looks good in PR CI. Can you squash, then I will r+? |
|
Done. |
.travis.yml
Outdated
| before_cache: | ||
| # Don't cache "master" toolchain, it's a waste | ||
| - rustup default stable | ||
| - rustup default beta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
|
Great! @bors r+ |
|
📌 Commit 1da9fea has been approved by |
Remove stable cargo feature `default-run` At least on beta.
|
💔 Test failed - checks-travis |
|
Need another bors retry to get it work. Previous fail build only cache beta toolchain. |
|
I doubt this will work TBH, does the cache get updated when the build fails? @bors retry |
Remove stable cargo feature `default-run` At least on beta.
|
💔 Test failed - status-appveyor |
|
Turns out I was wrong, switching to beta cargo does not work. It leads to strange failures on Windows: #829. |
|
So given that |
|
Rebased on master. |
|
Travis looks good! @bors r+ |
|
📌 Commit 96be924 has been approved by |
Remove stable cargo feature `default-run` At least on beta.
|
☀️ Test successful - checks-travis, status-appveyor |
|
Yay, that worked. :D Thanks! |
At least on beta.