From 460e3497f1262a7961ec1a4ea1ddec99daf516fd Mon Sep 17 00:00:00 2001 From: Dennis Ameling Date: Tue, 24 Mar 2026 10:46:08 +0100 Subject: [PATCH 1/3] Update Compile-time Requirements to add info about clang-cl.exe --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index fe511d1e2..728acd6bf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -156,6 +156,7 @@ //! require Visual Studio to be installed. `cc-rs` attempts to locate it, and //! if it fails, `cl.exe` is expected to be available in `PATH`. This can be //! set up by running the appropriate developer tools shell. +//! * When using `prefer_clang_cl_over_msvc`, make sure that the `C++ Clang compiler for Windows` component is installed through the Visual Studio Installer, so that `cc-rs` can find `clang-cl.exe`. //! * Windows platforms targeting MinGW (e.g. your target name ends in `-gnu`) //! require `cc` to be available in `PATH`. We recommend the //! [MinGW-w64](https://www.mingw-w64.org/) distribution. From dbf72f3be458fd7a0a3082a76ccac9e9d6072d30 Mon Sep 17 00:00:00 2001 From: Dennis Ameling Date: Thu, 26 Mar 2026 14:30:19 +0100 Subject: [PATCH 2/3] Update src/lib.rs Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 728acd6bf..d2ac65420 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -156,7 +156,7 @@ //! require Visual Studio to be installed. `cc-rs` attempts to locate it, and //! if it fails, `cl.exe` is expected to be available in `PATH`. This can be //! set up by running the appropriate developer tools shell. -//! * When using `prefer_clang_cl_over_msvc`, make sure that the `C++ Clang compiler for Windows` component is installed through the Visual Studio Installer, so that `cc-rs` can find `clang-cl.exe`. +//! * When using `prefer_clang_cl_over_msvc`, make sure that the `C++ Clang compiler for Windows` component is installed through the Visual Studio Installer, so that `cc-rs` can find `clang-cl.exe`. //! * Windows platforms targeting MinGW (e.g. your target name ends in `-gnu`) //! require `cc` to be available in `PATH`. We recommend the //! [MinGW-w64](https://www.mingw-w64.org/) distribution. From 9a4f15163916c4b61ebd79ff18b2ad81e6e25805 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Fri, 27 Mar 2026 01:25:45 +1100 Subject: [PATCH 3/3] Update lib.rs --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index d2ac65420..3bf3d81fb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -156,7 +156,8 @@ //! require Visual Studio to be installed. `cc-rs` attempts to locate it, and //! if it fails, `cl.exe` is expected to be available in `PATH`. This can be //! set up by running the appropriate developer tools shell. -//! * When using `prefer_clang_cl_over_msvc`, make sure that the `C++ Clang compiler for Windows` component is installed through the Visual Studio Installer, so that `cc-rs` can find `clang-cl.exe`. +//! * When using `prefer_clang_cl_over_msvc`, make sure that the `C++ Clang compiler for Windows` component +//! is installed through the Visual Studio Installer, so that `cc-rs` can find `clang-cl.exe`. //! * Windows platforms targeting MinGW (e.g. your target name ends in `-gnu`) //! require `cc` to be available in `PATH`. We recommend the //! [MinGW-w64](https://www.mingw-w64.org/) distribution.