add esp-clang download prompts

This commit is contained in:
Li Jie
2025-08-20 10:23:32 +08:00
parent e8bae52f66
commit 1b8b500fd7
2 changed files with 4 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ func getESPClangRoot() (clangRoot string, err error) {
if !errors.Is(err, fs.ErrNotExist) {
return
}
fmt.Fprintln(os.Stderr, "ESP Clang not found in LLGO_ROOT or cache, will download.")
if err = downloadAndExtractESPClang(platformSuffix, cacheClangDir); err != nil {
return
}