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> {
277277}
278278
279279impl ExtraBackendMethods for GccCodegenBackend {
280+ fn supports_parallel ( & self ) -> bool {
281+ false
282+ }
283+
280284 fn codegen_allocator (
281285 & self ,
282286 tcx : TyCtxt < ' _ > ,
@@ -345,8 +349,7 @@ impl Deref for SyncContext {
345349}
346350
347351unsafe 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()".
350353unsafe impl Sync for SyncContext { }
351354
352355impl WriteBackendMethods for GccCodegenBackend {
You can’t perform that action at this time.
0 commit comments