From e63dc9578038c2b0d7f02b1276096a8f105f4f03 Mon Sep 17 00:00:00 2001 From: MANISH WALIA <78153901+manishwalia15@users.noreply.github.com> Date: Sun, 13 Oct 2024 01:46:33 +0530 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 74fcc58348b43..1d154b90586d4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -281,3 +281,12 @@ compile for a platform without host tools you must cross-compile. You may find that other platforms work, but these are our officially supported build environments that are most likely to work. + +## External LLVM Version Compatibility + +To build `rustc`, it is important to know which versions of LLVM are supported. As of Rust 1.82, the following external LLVM versions are supported: + +- **Minimum Supported Version**: LLVM 18 +- **Maximum Supported Version**: LLVM 19 + +If you attempt to use LLVM versions outside this range, you may encounter compatibility issues when compiling `rustc`. Please ensure you are using a compatible version for your build.