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

Handle old LLVM pass manager on rustc 1.57 #197

Merged
merged 2 commits into from
Dec 22, 2021

Conversation

smoelius
Copy link
Member

@smoelius smoelius commented Dec 16, 2021

The new LLVM pass manager was not enabled in rustc 1.57 as expected: rust-lang/rust#91263

The proposed fix to only pass -C passes=sancov-module to nightly compilers for which the LLVM version is >= 13.

Closes #192

@taiki-e Perhaps you could look this over.

Copy link
Contributor

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@smoelius
Copy link
Member Author

Thanks a lot, @taiki-e.

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.

Unknown pass name 'sancov'
2 participants