Rustc 1.65 version build with clang version 14.0.6

I have some problem to build rustc 1.65 version with calng version 14.0.6

I want to build the rustc 1.65 version to cloning rustc-1.65-repository(https://github.com/rust-lang/rust.git)
Then, build rustc with ./x.py build with llvm-project. In this situation, I want to build llvm-project related to clang 14.0.6 during rustc builld.

Then, any solution to build llvm-project related clang 14.0.6??
I guess that modifiy config.toml file to build rustc but I have no insight to build clang.

Have a nice day :slight_smile:

The instructions for building rustc and setting up a sysroot are here:

I couldn't find any instructions for bringing your own version of LLVM, though.

You can set the path to your own llvm-config under [target.*] in config.toml.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.