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> {
289289}
290290
291291impl ExtraBackendMethods for GccCodegenBackend {
292+ fn supports_parallel ( & self ) -> bool {
293+ false
294+ }
295+
292296 fn codegen_allocator (
293297 & self ,
294298 tcx : TyCtxt < ' _ > ,
@@ -357,8 +361,7 @@ impl Deref for SyncContext {
357361}
358362
359363unsafe 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()".
362365unsafe impl Sync for SyncContext { }
363366
364367impl WriteBackendMethods for GccCodegenBackend {
You can’t perform that action at this time.
0 commit comments