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 @@ -289,6 +289,10 @@ fn new_context<'gcc, 'tcx>(tcx: TyCtxt<'tcx>) -> Context<'gcc> {
289
289
}
290
290
291
291
impl ExtraBackendMethods for GccCodegenBackend {
292
+ fn supports_parallel ( & self ) -> bool {
293
+ false
294
+ }
295
+
292
296
fn codegen_allocator (
293
297
& self ,
294
298
tcx : TyCtxt < ' _ > ,
@@ -357,8 +361,7 @@ impl Deref for SyncContext {
357
361
}
358
362
359
363
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().
364
+ // FIXME(antoyo): that shouldn't be Sync. Parallel compilation is currently disabled with "CodegenBackend::supports_parallel()".
362
365
unsafe impl Sync for SyncContext { }
363
366
364
367
impl WriteBackendMethods for GccCodegenBackend {
You can’t perform that action at this time.
0 commit comments