Skip to content

Update Charon submodule to v0.1.82 - #4696

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

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

Conversation

@tautschnig

Copy link
Copy Markdown
Member

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

From this Charon version, charon_lib requests annotate-snippets from its upstream git repository (an unreleased 0.11.5 at the time; since published on crates.io). Kani forbids git dependencies (deny.toml: sources.unknown-git = "deny"), and without intervention every cargo invocation — including non-llbc builds that never compile charon — fails dependency resolution. Redirect the git source to the crates.io release via a [patch] section in the workspace manifest; the section carries a comment explaining its purpose and lifetime. The crates.io 0.11.5 API differs from the pre-release git API charon was written against, so charon-patch.diff (applied only in the llbc CI job) additionally adapts Charon's error-rendering code to the released API.

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.76 (b360b5d8) to v0.1.82 (8ec6ba9d),
continuing the incremental effort to catch the pinned Charon up with upstream
(the endgame is dropping scripts/charon-patch.diff entirely).

From this Charon version, `charon_lib` requests `annotate-snippets` from its
upstream git repository (an unreleased 0.11.5 at the time; since published on
crates.io). Kani forbids git dependencies (`deny.toml`:
sources.unknown-git = "deny"), and without intervention *every* cargo
invocation — including non-llbc builds that never compile charon — fails
dependency resolution. Redirect the git source to the crates.io release via a
`[patch]` section in the workspace manifest; the section carries a comment
explaining its purpose and lifetime. The crates.io 0.11.5 API differs from the
pre-release git API charon was written against, so charon-patch.diff (applied
only in the llbc CI job) additionally adapts Charon's error-rendering code to
the released API.

Co-authored-by: Kiro <[email protected]>
Copilot AI review requested due to automatic review settings July 29, 2026 09:48
@tautschnig
tautschnig requested a review from a team as a code owner July 29, 2026 09:48

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@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 29, 2026
@feliperodri
feliperodri added this pull request to the merge queue Jul 29, 2026
Merged via the queue into model-checking:main with commit 2f56cf3 Jul 29, 2026
33 checks passed
@tautschnig
tautschnig deleted the charon-update-v0.1.82-pr branch July 29, 2026 13:29
@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