Skip to content

Update Charon submodule to v0.1.73 - #4684

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

feliperodri merged 1 commit into
model-checking:mainfrom
tautschnig:charon-update-v0.1.73-pr

Conversation

@tautschnig

Copy link
Copy Markdown
Member

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

Charon v0.1.72/73 change CrateData::new to take the transformation context by value and introduce a std::assert_matches use in the simplify_constants pass, which needs adapting to the pinned toolchain's macro re-export; scripts/charon-patch.diff gains that hunk and is refreshed over context-line drift.

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.71 (de910497) to v0.1.73 (dee66030),
continuing the incremental effort to catch the pinned Charon up with upstream
(the endgame is dropping scripts/charon-patch.diff entirely).

Charon v0.1.72/73 change `CrateData::new` to take the transformation context
by value and introduce a `std::assert_matches` use in the simplify_constants
pass, which needs adapting to the pinned toolchain's macro re-export;
scripts/charon-patch.diff gains that hunk and is refreshed over context-line
drift.

Co-authored-by: Kiro <[email protected]>
@tautschnig
tautschnig requested a review from a team as a code owner July 28, 2026 13:33
Copilot AI review requested due to automatic review settings July 28, 2026 13:33
@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.

Pull request overview

This PR advances Kani’s pinned Charon integration to v0.1.73 and updates Kani-side glue/patching to stay compatible with upstream API and toolchain changes, keeping the ongoing effort to reduce/remove local patching moving forward.

Changes:

  • Refresh scripts/charon-patch.diff for the updated Charon version and add a patch hunk adjusting assert_matches importing in simplify_constants.
  • Update the LLBC codegen path to call charon_lib::export::CrateData::new with the transformation context by value (new upstream signature).
  • Update Cargo.lock for Charon v0.1.73 and its new transitive dependencies.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
scripts/charon-patch.diff Refreshes the patch applied to the Charon submodule; adds an import adjustment for assert_matches.
kani-compiler/src/codegen_aeneas_llbc/compiler_interface.rs Adapts Kani’s Charon integration to the updated CrateData::new API (takes context by value).
Cargo.lock Locks Charon v0.1.73 and new transitive crates (strip-ansi-escapes, vte).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@feliperodri
feliperodri added this pull request to the merge queue Jul 28, 2026
Merged via the queue into model-checking:main with commit f82b1d0 Jul 28, 2026
33 checks passed
@tautschnig
tautschnig deleted the charon-update-v0.1.73-pr branch July 28, 2026 17:02
@feliperodri feliperodri added this to the Charon front end (LLBC) milestone Oct 22, 2026
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