Skip to content

Conversation

FractalFir
Copy link
Contributor

This explicitly disables multithreading in cg_gcc. libgccjit is not thread-safe, and this option should not have been accidentally enabled in the first place.

@FractalFir FractalFir force-pushed the thread_soundness_fix branch from 25ae4e6 to 63c53fc Compare July 8, 2025 20:56
@FractalFir
Copy link
Contributor Author

Ready for review.

Copy link
Contributor

@antoyo antoyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find!
Thanks for making this PR.

@FractalFir FractalFir force-pushed the thread_soundness_fix branch 2 times, most recently from 8e6e2dc to 94fa5fe Compare July 9, 2025 18:28
@FractalFir FractalFir force-pushed the thread_soundness_fix branch from 94fa5fe to 2961464 Compare July 9, 2025 18:29
@FractalFir
Copy link
Contributor Author

Ready for review

@antoyo antoyo merged commit 86f5318 into rust-lang:master Jul 9, 2025
38 checks passed
@antoyo
Copy link
Contributor

antoyo commented Jul 9, 2025

Thanks a lot for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants