File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,10 @@ fn new_context<'gcc, 'tcx>(tcx: TyCtxt<'tcx>) -> Context<'gcc> {
277
277
}
278
278
279
279
impl ExtraBackendMethods for GccCodegenBackend {
280
+ fn supports_parallel ( & self ) -> bool {
281
+ false
282
+ }
283
+
280
284
fn codegen_allocator (
281
285
& self ,
282
286
tcx : TyCtxt < ' _ > ,
@@ -345,8 +349,7 @@ impl Deref for SyncContext {
345
349
}
346
350
347
351
unsafe impl Send for SyncContext { }
348
- // FIXME(antoyo): that shouldn't be Sync. Parallel compilation is currently disabled with "-Zno-parallel-llvm".
349
- // TODO: disable it here by returning false in CodegenBackend::supports_parallel().
352
+ // FIXME(antoyo): that shouldn't be Sync. Parallel compilation is currently disabled with "CodegenBackend::supports_parallel()".
350
353
unsafe impl Sync for SyncContext { }
351
354
352
355
impl WriteBackendMethods for GccCodegenBackend {
You can’t perform that action at this time.
0 commit comments