File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -289,6 +289,11 @@ fn new_context<'gcc, 'tcx>(tcx: TyCtxt<'tcx>) -> Context<'gcc> {
289
289
}
290
290
291
291
impl ExtraBackendMethods for GccCodegenBackend {
292
+
293
+ fn supports_parallel ( & self ) -> bool {
294
+ false
295
+ }
296
+
292
297
fn codegen_allocator (
293
298
& self ,
294
299
tcx : TyCtxt < ' _ > ,
@@ -357,8 +362,7 @@ impl Deref for SyncContext {
357
362
}
358
363
359
364
unsafe impl Send for SyncContext { }
360
- // FIXME(antoyo): that shouldn't be Sync. Parallel compilation is currently disabled with "-Zno-parallel-llvm".
361
- // TODO: disable it here by returning false in CodegenBackend::supports_parallel().
365
+ // FIXME(antoyo): that shouldn't be Sync. Parallel compilation is currently disabled with "CodegenBackend::supports_parallel()".
362
366
unsafe impl Sync for SyncContext { }
363
367
364
368
impl WriteBackendMethods for GccCodegenBackend {
You can’t perform that action at this time.
0 commit comments