Skip to content

Update Charon submodule to v0.1.76 - #4686

Merged
feliperodri merged 1 commit into
model-checking:mainfrom
tautschnig:charon-update-v0.1.76-pr
Jul 29, 2026
Merged

Update Charon submodule to v0.1.76#4686
feliperodri merged 1 commit into
model-checking:mainfrom
tautschnig:charon-update-v0.1.76-pr

Conversation

@tautschnig

Copy link
Copy Markdown
Member

Advance the Charon pin from v0.1.73 (dee66030) to v0.1.76 (b360b5d8), continuing the incremental effort to catch the pinned Charon up with upstream (the endgame is dropping scripts/charon-patch.diff entirely).

Charon v0.1.74-76 add TranslateOptions::monomorphize (kept off; Kani already translates monomorphized instances) and rename the Locals::vars field to locals.

Refresh scripts/charon-patch.diff so its hunks apply against the v0.1.76 sources (context-line drift only; the patch content is unchanged).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Advance the Charon pin from v0.1.73 (dee66030) to v0.1.76 (b360b5d8),
continuing the incremental effort to catch the pinned Charon up with upstream
(the endgame is dropping scripts/charon-patch.diff entirely).

Charon v0.1.74-76 add `TranslateOptions::monomorphize` (kept off; Kani already
translates monomorphized instances) and rename the `Locals::vars` field to
`locals`.

Refresh scripts/charon-patch.diff so its hunks apply against the v0.1.76
sources (context-line drift only; the patch content is unchanged).

Co-authored-by: Kiro <kiro-agent@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 28, 2026 19:27
@tautschnig
tautschnig requested a review from a team as a code owner July 28, 2026 19:27
@github-actions github-actions Bot added Z-EndToEndBenchCI Tag a PR to run benchmark CI Z-CompilerBenchCI Tag a PR to run benchmark CI labels Jul 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Human review recommended

It updates a pinned upstream dependency and a corresponding patch file, which can have wide compile/runtime impact that should be validated by CI and/or a maintainer.

Pull request overview

This PR advances Kani’s pinned Charon version from v0.1.73 to v0.1.76, updating the few integration touchpoints needed for upstream API/struct changes and refreshing the local Charon patch so it applies cleanly to the new sources.

Changes:

  • Bump the pinned charon crate version to 0.1.76 in Cargo.lock.
  • Update the Aeneas LLBC codegen integration for Charon’s Locals field rename (varslocals).
  • Extend TranslateOptions construction to include the new monomorphize flag (kept false as intended) and refresh scripts/charon-patch.diff for v0.1.76.
File summaries
File Description
scripts/charon-patch.diff Refreshes the patch hunks so they apply against Charon v0.1.76 sources.
kani-compiler/src/codegen_aeneas_llbc/mir_to_ullbc/mod.rs Adapts to Charon Locals field rename by initializing CharonLocals { locals: ..., arg_count }.
kani-compiler/src/codegen_aeneas_llbc/compiler_interface.rs Sets the newly introduced TranslateOptions::monomorphize field to false.
Cargo.lock Updates the locked charon dependency version to 0.1.76.
Review details
  • Files reviewed: 4/5 changed files
  • Comments generated: 0
  • Review effort level: Low

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@feliperodri
feliperodri added this pull request to the merge queue Jul 29, 2026
Merged via the queue into model-checking:main with commit 3c15edb Jul 29, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Z-CompilerBenchCI Tag a PR to run benchmark CI Z-EndToEndBenchCI Tag a PR to run benchmark CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants