From 7e2c1a036288aed94b8b78d81d15ddd0e97b8c8b Mon Sep 17 00:00:00 2001 From: MANISH WALIA <78153901+manishwalia15@users.noreply.github.com> Date: Sun, 13 Oct 2024 00:34:34 +0530 Subject: [PATCH] Add LLVM compatibility information --- src/doc/rustdoc/src/how-to-read-rustdoc.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/doc/rustdoc/src/how-to-read-rustdoc.md b/src/doc/rustdoc/src/how-to-read-rustdoc.md index dade62c54234b..2b279df10a2a4 100644 --- a/src/doc/rustdoc/src/how-to-read-rustdoc.md +++ b/src/doc/rustdoc/src/how-to-read-rustdoc.md @@ -99,3 +99,13 @@ Pressing the enter or return key opens the highlighted result. When looking at the documentation for an item, the plus and minus keys expand and collapse all sections in the document. + +## LLVM Compatibility + +The Rust compiler (`rustc`) supports the following external LLVM versions: + +- **Minimum supported LLVM version:** 17 +- **Maximum supported LLVM version:** 19 + +Ensure you have a compatible version of LLVM installed when building `rustc`. +