-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
cargo v0.27 tests failed when build rust 1.26.2 on "stable" channel #5648
Comments
Root cause: |
Due to the way I would be reluctant to use |
@mnd How are you running the tests? When using |
@ehuss I used https://static.rust-lang.org/dist/rustc-1.26.2-src.tar.gz sources, defined I have next environment variables defined:
I preparing package for GuixSD and actually full config is config.txt, full environment is |
Ah, I see. I was looking at the wrong version. The check for RUSTC_BOOSTRAP is very recent, and wasn't part of the 1.27 release. If I understand the rust dist process correctly, tests are not run from |
The PR to fix this was just approved. It insures that all currently existing tests that can't run on "stable" override the stability checks; In addition it makes it difficult to regress on this by assuming "stable" for tests unless explicitly overridden. This fix will be in the 1.28 release of rust. I doubt they will backport these changes to past releases, but I have no say. |
If rust configured with
then test
test_resolving_minimum_version_with_transitive_deps
fromcargo/tests/testsuite/resolve.rs
will fail with next error:The text was updated successfully, but these errors were encountered: