-
Notifications
You must be signed in to change notification settings - Fork 60
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
"stable" feature stopped compiling #164
Comments
As far as we could tell the stable feature didn't work anyway? If you look at the travis build history the stable builds are broken. cc @gnzlbg |
Miri used the stable feature until this night (when it broke), so it definitely worked. |
Hm. |
Anyway, @gnzlbg is going to update this with a stable libtest today, and stable will be the default soon for this crate |
What can I say, rust-lang/miri#650 landed and CI was green with 0.3.19. |
I noticed this too -- all my stable compiletest cron builds broke when updated from 0.3.19 to 0.3.20:
Locally, |
Yeah, once gnzlbg's fixes happen we can patch up CI to ensure it works too |
Sounds good, thanks. |
Ping -- please yank 0.3.20 if a fix is not imminent, as downstream builds are still failing. |
Done. |
@Manishearth it would be great if you could say why you wrote this. The commit log looks very much like this crate was fine on stable until #162 landed. |
Ah, sorry, that was basically because two of us independently couldn't figure out why libtest could be linked against on stable in the first place, and my local test didn't work. The reason my local test didn't work was that my stable toolchain was broken (it had been broken for deliberate reasons to test something) and didn't have the rust libs in the right place so it gave exactly the error I'd expect given what the code did. I later realized this and fixed my toolchain and stuff worked again. (The reason we were surprised this works on stable is that rustc is basically a bit weird when it comes to linking against the shipped libtest, which is allowed but you can't use anything) |
Either way, now that we're doing the libtest stuff properly, there's a path forward for this crate to not need nightly anymore |
I think the |
That's not mentioned in the Cargo.toml at all. Rustc ships with a |
It is:
In fact, this is pulled in exactly by the "stable" flag, which is why I think this is how things can work at all on stable:
|
That should not work with |
Yeah I thought so too, but there is no such line anywhere. Also notice that the
Won't that change the name through which the crate can get imported? |
I'm surprised you can do that. |
This explains at least one of the issues we had when trying to get the new libtest stuff to work :) |
I guess that explains the prior confusion then. :) Where can we track the reverting of the libtest change that you mentioned? |
rust-lang/rust#59766 , it's done already. I'm opening a rustup PR now. |
@RalfJung Can I close this as being outdated? |
Yeah the stable feature is working again. :) Thanks! |
With v0.3.20, compiletest with the "stable" feature seemingly stopped working:
Also see https://travis-ci.com/rust-lang/miri/jobs/186258530
The text was updated successfully, but these errors were encountered: