Merge remote-tracking branch 'upstream/main' into release/esp-clang

This commit is contained in:
luoliwoshang
2025-09-09 14:25:51 +08:00

View File

@@ -38,6 +38,9 @@ const (
// -----------------------------------------------------------------------------
// defaultLLVMConfigBin returns the default path to the llvm-config binary. It
// checks the LLVM_CONFIG environment variable first, then searches in PATH. If
// not found, it returns [ldLLVMConfigBin] as a last resort.
func defaultLLVMConfigBin() string {
bin := os.Getenv("LLVM_CONFIG")
if bin != "" {