-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
use download-rustc="if-unchanged"
as a global default
#132772
Conversation
Signed-off-by: onur-ozkan <work@onurozkan.dev>
"whenever possible" means applying it if `download-rustc` isn't explicitly set and the source is Git-managed. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This PR modifies If appropriate, please update This PR modifies If appropriate, please update |
This comment has been minimized.
This comment has been minimized.
Signed-off-by: onur-ozkan <work@onurozkan.dev>
@rustbot ready |
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.
Thanks, this makes sense to me. One question, r=me otherwise.
@bors r+ |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#132341 (Reject raw lifetime followed by `'`, like regular lifetimes do) - rust-lang#132363 (Enforce that raw lifetimes must be valid raw identifiers) - rust-lang#132744 (add regression test for rust-lang#90781) - rust-lang#132754 (Simplify the internal API for declaring command-line options) - rust-lang#132772 (use `download-rustc="if-unchanged"` as a global default) - rust-lang#132774 (Use lld with non-LLVM backends) - rust-lang#132799 (Make `Ty::primitive_symbol` recognize `str`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#132772 - onur-ozkan:download-rustc-default, r=jieyouxu use `download-rustc="if-unchanged"` as a global default If `download-rustc` isn't explicitly set and the source is Git-managed, it should be totally okay to utilize "if-unchanged" behaviour. The "dist" profile already sets `download-rustc` to `false`, so this shouldn’t impact anything on CI. This also resolves an unhandled case where `bootstrap` unexpectedly panics if `"if-unchanged"` was used with a non-Git source. Now we exits gracefully with an error message pointing the problem.
…default, r=jieyouxu" This reverts commit c435fa8, reversing changes made to 88acd49. Seems to have unintentionally omitted commit hash leading to <rust-lang#132772>.
Revert rust-lang#132772 to fix unknown git commit hash Reverts rust-lang#132772 to address rust-lang#132845, we seem to have unintentionally omitted commit hash. r? `@onur-ozkan`
…default, r=jieyouxu" This reverts commit c435fa8, reversing changes made to 88acd49. Seems to have unintentionally omitted commit hash leading to <rust-lang#132772>.
Revert rust-lang#132772 to fix unknown git commit hash Reverts rust-lang#132772 to address rust-lang#132845, we seem to have unintentionally omitted commit hash. r? `@onur-ozkan`
…-default, r=jieyouxu" This reverts commit c0cee4e.
… r=jieyouxu use `download-rustc="if-unchanged"` as a global default If `download-rustc` isn't explicitly set and the source is Git-managed, it should be totally okay to utilize "if-unchanged" behaviour. The "dist" profile already sets `download-rustc` to `false`, so this shouldn’t impact anything on CI. This also resolves an unhandled case where `bootstrap` unexpectedly panics if `"if-unchanged"` was used with a non-Git source. Now we exits gracefully with an error message pointing the problem.
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#132341 (Reject raw lifetime followed by `'`, like regular lifetimes do) - rust-lang#132363 (Enforce that raw lifetimes must be valid raw identifiers) - rust-lang#132744 (add regression test for rust-lang#90781) - rust-lang#132754 (Simplify the internal API for declaring command-line options) - rust-lang#132772 (use `download-rustc="if-unchanged"` as a global default) - rust-lang#132774 (Use lld with non-LLVM backends) - rust-lang#132799 (Make `Ty::primitive_symbol` recognize `str`) r? `@ghost` `@rustbot` modify labels: rollup
…default, r=jieyouxu" This reverts commit c435fa8, reversing changes made to 88acd49. Seems to have unintentionally omitted commit hash leading to <rust-lang#132772>.
Revert rust-lang#132772 to fix unknown git commit hash Reverts rust-lang#132772 to address rust-lang#132845, we seem to have unintentionally omitted commit hash. r? `@onur-ozkan`
…-default, r=jieyouxu" This reverts commit c0cee4e.
Reland rust-lang#132772: use `download-rustc="if-unchanged"` as a global default Relands rust-lang#132772 with the fix. r? jieyouxu (knows the context).
If
download-rustc
isn't explicitly set and the source is Git-managed, it should be totally okay to utilize "if-unchanged" behaviour. The "dist" profile already setsdownload-rustc
tofalse
, so this shouldn’t impact anything on CI.This also resolves an unhandled case where
bootstrap
unexpectedly panics if"if-unchanged"
was used with a non-Git source. Now we exits gracefully with an error message pointing the problem.