Skip to content

Commit 25ae4e6

Browse files
committed
Change the implementation of supports_parallel to signal tha cg_gcc is not thread safe.
1 parent b7091ec commit 25ae4e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ fn new_context<'gcc, 'tcx>(tcx: TyCtxt<'tcx>) -> Context<'gcc> {
289289
}
290290

291291
impl ExtraBackendMethods for GccCodegenBackend {
292+
fn supports_parallel(&self)->bool{
293+
false
294+
}
292295
fn codegen_allocator(
293296
&self,
294297
tcx: TyCtxt<'_>,

0 commit comments

Comments
 (0)