-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Make rustc thread safe when queries can be used #46596
Copy link
Copy link
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is just an issue noting down the things required to make rustc thread safe when queries can be used.
QueryJobfield.mk_attr_iduse a scoped thread local or make it part ofParseSessTransitiveRelationonce old borrowck is gonelibproc_macrofor issues, Find out which types should beSend,Sync. Deal withDerefimpls forSymbol.CStore::next_crate_numFileMap.external_src,FileMap.lines,FileMap.multibyte_chars, andFileMap.non_narrow_chars