Skip to content

document that older LLVM versions come with increased risk#2793

Merged
tshepang merged 1 commit intorust-lang:mainfrom
RalfJung:llvm
Mar 9, 2026
Merged

document that older LLVM versions come with increased risk#2793
tshepang merged 1 commit intorust-lang:mainfrom
RalfJung:llvm

Conversation

@RalfJung
Copy link
Member

@RalfJung RalfJung commented Mar 9, 2026

I think we should document somewhere that while rustc does build with older versions of LLVM, this comes with an increased risk of soundness bugs since we generally consider miscompilation issues fixed once they are resolved for the latest LLVM. I don't know what the right place for such a statement is -- where do we even document our LLVM support policy? The dev-guide is mostly internal-facing so it doesn't feel like the right place, but it's the best I found so far.

Cc @nikic

@rustbot
Copy link
Collaborator

rustbot commented Mar 9, 2026

Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Mar 9, 2026
@RalfJung
Copy link
Member Author

RalfJung commented Mar 9, 2026

r? rustc-dev-guide

@tshepang tshepang merged commit e2cc34c into rust-lang:main Mar 9, 2026
1 check passed
@rustbot rustbot removed the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Mar 9, 2026
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.

5 participants