Skip to content

Update LLVM and GCC#527

Merged
SergioGasquez merged 3 commits into
esp-rs:mainfrom
SergioGasquez:feat/update-llvm
Sep 23, 2025
Merged

Update LLVM and GCC#527
SergioGasquez merged 3 commits into
esp-rs:mainfrom
SergioGasquez:feat/update-llvm

Conversation

@SergioGasquez

Copy link
Copy Markdown
Member

No description provided.

@SergioGasquez SergioGasquez changed the title Update LLVM Update LLVM and GCC Sep 23, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the toolchain versions for both LLVM and GCC to their latest releases. The changes add support for LLVM esp-20.1.1_20250829 and update the default GCC version to esp-15.2.0_20250920.

  • Add support for LLVM version esp-20.1.1_20250829 with corresponding logic updates
  • Update default GCC release from 14.2.0_20241119 to 15.2.0_20250920
  • Update changelog to document these version bumps

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/toolchain/llvm.rs Adds LLVM 20 support with new constant and integration into version detection logic
src/toolchain/gcc.rs Updates default GCC release version constant
CHANGELOG.md Documents the toolchain version updates

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/toolchain/llvm.rs
Comment on lines +135 to +136
} else if (major == 1 && minor == 88 && patch == 0 && subpatch == 0)
|| (major == 1 && minor < 88)

Copilot AI Sep 23, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version comparison logic appears incorrect. The condition (major == 1 && minor < 88) will match versions like 1.87.x which should use LLVM 19, but the minor == 88 && patch == 0 && subpatch == 0 condition suggests 1.88.0.0 specifically should use LLVM 19. This creates ambiguous version mapping where 1.88.x versions might not be handled consistently.

Copilot uses AI. Check for mistakes.
@SergioGasquez SergioGasquez merged commit 18e708d into esp-rs:main Sep 23, 2025
17 checks passed
@SergioGasquez SergioGasquez deleted the feat/update-llvm branch September 23, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants