Update Charon submodule to v0.1.76 - #4686
Merged
feliperodri merged 1 commit intoJul 29, 2026
Merged
Conversation
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>
Contributor
There was a problem hiding this comment.
🟡 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
charoncrate version to0.1.76inCargo.lock. - Update the Aeneas LLBC codegen integration for Charon’s
Localsfield rename (vars→locals). - Extend
TranslateOptionsconstruction to include the newmonomorphizeflag (keptfalseas intended) and refreshscripts/charon-patch.difffor 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
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 theLocals::varsfield tolocals.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.