Skip to content

Update Charon submodule to v0.1.71#4669

Open
tautschnig wants to merge 1 commit into
model-checking:mainfrom
tautschnig:charon-update-v0.1.71-pr
Open

Update Charon submodule to v0.1.71#4669
tautschnig wants to merge 1 commit into
model-checking:mainfrom
tautschnig:charon-update-v0.1.71-pr

Conversation

@tautschnig

Copy link
Copy Markdown
Member

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

Charon v0.1.70/71 make error levels explicit (span_err takes a Level) and add ItemMeta::lang_item tracking (None for the items Kani translates, which carry no #[lang] attribute).

Refresh scripts/charon-patch.diff so its hunks apply against the v0.1.71 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.69 (485bd36e) to v0.1.71 (de910497),
continuing the incremental effort to catch the pinned Charon up with upstream
(the endgame is dropping scripts/charon-patch.diff entirely).

Charon v0.1.70/71 make error levels explicit (`span_err` takes a `Level`) and
add `ItemMeta::lang_item` tracking (`None` for the items Kani translates, which
carry no `#[lang]` attribute).

Refresh scripts/charon-patch.diff so its hunks apply against the v0.1.71
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 24, 2026 08:50
@tautschnig
tautschnig requested a review from a team as a code owner July 24, 2026 08:50
@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 24, 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

Updates Kani’s pinned Charon dependency to v0.1.71 and adapts the LLBC/Aeneas integration to Charon’s updated APIs (explicit error Level and new ItemMeta::lang_item field), while refreshing the local patch file so it continues to apply cleanly.

Changes:

  • Update Charon references (including lockfile) to v0.1.71.
  • Adjust LLBC codegen to pass Charon error Level and to populate ItemMeta::lang_item as None.
  • Refresh scripts/charon-patch.diff so it applies against the newer Charon sources.

Reviewed changes

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

File Description
scripts/charon-patch.diff Refreshes the maintained patch so it applies to the updated Charon sources.
kani-compiler/src/codegen_aeneas_llbc/mir_to_ullbc/mod.rs Updates Charon error and metadata construction to match new Charon APIs (Level, lang_item).
kani-compiler/src/codegen_aeneas_llbc/compiler_interface.rs Updates span_err call sites to pass an explicit Charon error Level.
Cargo.lock Bumps the locked Charon package version to 0.1.71.

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

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.

2 participants