Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment: See the impact of codegen-units=1 on macOS #4209

Closed
wants to merge 2 commits into from

Conversation

leebenson
Copy link
Member

⚠️ Don't merge. Experimental.

Throwing this up to experiment if setting LLVM's codegen-units flag to 1 has any impact on #4196, per rust-lang/rust#60925 and similar reported issues on macOS.

This disables parallel compilation which will likely cast too broad a net on non-affected platforms (assuming this winds up being the issue). A named profile override would have been better, but as that's an unstable nightly feature and I haven't figured out if it's possible to set llvm flags via cargo test without dropping down to cargo rustc and doing it manually, I'll stick with this crude attempt for now to see what happens.

@leebenson leebenson self-assigned this Sep 30, 2020
Signed-off-by: Lee Benson <[email protected]>
@leebenson leebenson closed this Oct 1, 2020
@leebenson leebenson deleted the leebenson/macos-codegen-units-experiment branch October 1, 2020 08:36
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.

1 participant