File tree 1 file changed +2
-2
lines changed
compiler/rustc_codegen_ssa/src/back
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1094,7 +1094,7 @@ fn start_executing_work<B: ExtraBackendMethods>(
1094
1094
// only place where we have access to the compiler `Session`.
1095
1095
// - LLVM work can be done on any thread.
1096
1096
// - Codegen can only happen on the main thread.
1097
- // - Each thread doing substantial work most be in possession of a `Token`
1097
+ // - Each thread doing substantial work must be in possession of a `Token`
1098
1098
// from the `Jobserver`.
1099
1099
// - The compiler process always holds one `Token`. Any additional `Tokens`
1100
1100
// have to be requested from the `Jobserver`.
@@ -1146,7 +1146,7 @@ fn start_executing_work<B: ExtraBackendMethods>(
1146
1146
// if possible. These two goals are at odds with each other: If memory
1147
1147
// consumption were not an issue, we could just let the main thread produce
1148
1148
// LLVM WorkItems at full speed, assuring maximal utilization of
1149
- // Tokens/LLVM worker threads. However, since codegen usual is faster
1149
+ // Tokens/LLVM worker threads. However, since codegen is usually faster
1150
1150
// than LLVM processing, the queue of LLVM WorkItems would fill up and each
1151
1151
// WorkItem potentially holds on to a substantial amount of memory.
1152
1152
//
You can’t perform that action at this time.
0 commit comments