-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Do not trust bootstrap about git hash availability #149377
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
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
Do not trust bootstrap about git hash availability try-job: aarch64-apple try-job: test-various
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
Since the bootstrap implementation can contain bugs. Instead, we use `RUSTC_TEST_GIT_HASH` env var that is directly set by CI, or by the user locally.
299c1fe to
39e27c1
Compare
|
@bors try |
Do not trust bootstrap about git hash availability try-job: aarch64-apple try-job: test-various
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
To always run `tests/run-make/version-verbose-commit-hash` in test jobs.
39e27c1 to
536faa9
Compare
|
@bors try |
|
⌛ Trying commit 536faa9 with merge 122f76c… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/19759629162 |
Do not trust bootstrap about git hash availability try-job: aarch64-apple try-job: test-various
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
@bors try cancel |
|
Try build cancelled. Cancelled workflows: |
|
☔ The latest upstream changes (presumably #150810) made this pull request unmergeable. Please resolve the merge conflicts. |
Since the bootstrap implementation can contain bugs. See #132845 and #132875.
Instead, we use
RUSTC_TEST_GIT_HASHenv var that is directly set by CI, or by the user locally, to control when thetests/run-make/version-verbose-commit-hashgets run. Note that locally, settingRUSTC_TEST_GIT_HASH=1only forces the test to run; the test will only pass if git hash is available, i.e. explicitly opt-in, or using a non-dev channel.Fixes #132875.
r? ghost
try-job: aarch64-apple
try-job: test-various