diff options
| author | Damian Höster <[email protected]> | 2026-08-21 23:49:41 +0200 |
|---|---|---|
| committer | Damian Höster <[email protected]> | 2026-08-21 23:49:41 +0200 |
| commit | 0eb5c44e2ddb51f58ae76aadf823bacba51078f5 (patch) | |
| tree | 6bcefe5b9ade4f77f86e5d0a364a913979defc87 /tests/projects/other/native_module/modules/binary/bar/src/main.cpp | |
| parent | 780159d6946115b89bb4657856fba361e79a1555 (diff) | |
Improve MinGW toolchain support for Clang and libc++
This patch primarily enables support for LLVM libc++ runtimes (c++_static, c++_shared) in the mingw toolchain, and updates C++20 module rules so that `import std;` resolves to LLVM libc++ instead of hardcoded GNU libstdc++ when using Clang on MinGW (llvm-mingw), which caused build failures before.
Also, configuring for MinGW on Linux or macOS without a cross-compiler present would previously result in fallback to host-native /usr/bin/gcc. Now unprefixed fallback is only used on Windows/MSYS2/Cygwin hosts. The toolchain check now also automatically selects clang when pointing at llvm-mingw or a clang-only installation, avoiding the need to manually pass clang = true.
Diffstat (limited to 'tests/projects/other/native_module/modules/binary/bar/src/main.cpp')
0 files changed, 0 insertions, 0 deletions
