@@ -90,7 +90,7 @@ pub struct Session {
90
90
/// (sub)diagnostics that have been set once, but should not be set again,
91
91
/// in order to avoid redundantly verbose output (Issue #24690, #44953).
92
92
pub one_time_diagnostics : RefCell < FxHashSet < ( DiagnosticMessageId , Option < Span > , String ) > > ,
93
- pub plugin_llvm_passes : RefCell < Vec < String > > ,
93
+ pub plugin_llvm_passes : OneThread < RefCell < Vec < String > > > ,
94
94
pub plugin_attributes : RefCell < Vec < ( String , AttributeType ) > > ,
95
95
pub crate_types : RefCell < Vec < config:: CrateType > > ,
96
96
pub dependency_formats : RefCell < dependency_format:: Dependencies > ,
@@ -1094,7 +1094,7 @@ pub fn build_session_(
1094
1094
lint_store : OneThread :: new ( RefCell :: new ( lint:: LintStore :: new ( ) ) ) ,
1095
1095
buffered_lints : OneThread :: new ( RefCell :: new ( Some ( lint:: LintBuffer :: new ( ) ) ) ) ,
1096
1096
one_time_diagnostics : RefCell :: new ( FxHashSet ( ) ) ,
1097
- plugin_llvm_passes : RefCell :: new ( Vec :: new ( ) ) ,
1097
+ plugin_llvm_passes : OneThread :: new ( RefCell :: new ( Vec :: new ( ) ) ) ,
1098
1098
plugin_attributes : RefCell :: new ( Vec :: new ( ) ) ,
1099
1099
crate_types : RefCell :: new ( Vec :: new ( ) ) ,
1100
1100
dependency_formats : RefCell :: new ( FxHashMap ( ) ) ,
0 commit comments