-
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
fix jobserver ICE "jobserver check should have been called earlier" #118589
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @WaffleLapkin (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'll r+ after #118589 (comment) and #118589 (comment) are addressed, and the tidy issue #118589 (comment) is fixed ( r? @petrochenkov |
@oksbsb |
While we are at here, could you also introduce impl EarlyErrorHandler {
pub fn initialize_checked_jobserver(&self) {
jobserver::check(|err| {
self.early_warn_with_note(err, "the build environment is likely misconfigured")
});
}
} to share the code? (The current setup exists because jobserver lives in rustc_data_structures and therefore cannot use the error handler types.) |
This comment has been minimized.
This comment has been minimized.
r=me after making CI green and squashing commits into one. |
@petrochenkov updated, thanks a lot. |
@bors r=petrochenkov |
@oksbsb: 🔑 Insufficient privileges: Not in reviewers |
@bors r=petrochenkov |
🔒 Merge conflict This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again. How do I rebase?Assuming
You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial. Please avoid the "Resolve conflicts" button on GitHub. It uses Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Error message
|
fix jobserver GLOBAL_CLIENT_CHECKED uninitialized before use override rust-lang#118589, resolve merge conflict `@petrochenkov` `@SparrowLii` Thanks!
fix jobserver GLOBAL_CLIENT_CHECKED uninitialized before use override rust-lang#118589, resolve merge conflict `@petrochenkov` `@SparrowLii` Thanks!
Rollup merge of rust-lang#118709 - oksbsb:fix-job-server, r=SparrowLii fix jobserver GLOBAL_CLIENT_CHECKED uninitialized before use override rust-lang#118589, resolve merge conflict `@petrochenkov` `@SparrowLii` Thanks!
@oksbsb try not to push after closing a PR but before reopening it, github is somewhat broken with this IIRC |
Fix #118588