Make rustc thread safe when queries can be used #46596
Labels
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This is just an issue noting down the things required to make rustc thread safe when queries can be used.
QueryJob
field.mk_attr_id
use a scoped thread local or make it part ofParseSess
TransitiveRelation
once old borrowck is gonelibproc_macro
for issues, Find out which types should beSend
,Sync
. Deal withDeref
impls forSymbol
.CStore::next_crate_num
FileMap.external_src
,FileMap.lines
,FileMap.multibyte_chars
, andFileMap.non_narrow_chars
The text was updated successfully, but these errors were encountered: