-
Notifications
You must be signed in to change notification settings - Fork 93
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
Fix for latest nightly: need to add a patch section #228
Conversation
Anyway, this (and #229) don't work (fully). It works if you're using only the I've come up with 3 different approaches to fix this, not sure which one is best:
|
I think this PR doesn't work for compiling |
Not sure hat you mean by that, but fine for me. However, please make sure xargo still works for old libstd that does not have |
Also I did the proper thing for fixing the deprecation warnings instead of just silencing them, feel free to copy those parts of my patches. |
When building |
Can't you check whether the rustc-std-workspace-core folder exists? That's what this patch does. |
How would that work for a git source? Xargo doesn't have access to the source. |
I'm afraid I am not familiar with the mode of operation of xargo you are referring to. I have only ever used xargo with the |
Thanks for the PRs, @RalfJung and @jethrogb! I'm going to land this one since it works with older nightly releases. On that note: @RalfJung, could you add a new builder that runs the test suite on an older nightly? I think the change should boil down to adding these lines to .travis.yml: matrix:
include:
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly-2018-12-XX Feel free to land this with that change. bors delegate+ |
✌️ RalfJung can now approve this pull request |
@japaric there was no CI in this PR at all though, for some reason? |
@RalfJung CI builds on PRs was disabled; I have re-enabled it. |
@japaric Hm, still not doing anything. |
Hmm, I think you'll have to add I'll kick off a try build for now. bors try |
Link to try build: https://travis-ci.org/japaric/xargo/builds/468425445 |
tryBuild failed |
Looks like CI is not in a good state...
|
bors try |
bors try |
Why is it not listening now?^^ bors try |
tryNot awaiting review |
Oh it did listen, just GH didn't update. Never mind. |
Well that looks really green to me! bors r+ |
tryBuild failed |
Uh, no, just the nightly-XXX didn't run the tests because it's not exactly "nightly". bors r- |
Canceled |
bors try |
tryBuild succeeded |
bors try |
tryBuild succeeded |
Okay, now it actually tested something and the tests come back green. :) |
bors r+ |
Build succeeded |
When would we expect to see this change in a released version on crates.io? |
Fixes #227