Skip to content

Conversation

@tautschnig
Copy link
Member

Enhances the cargo kani --version --verbose command to display comprehensive information about the underlying Rust compiler that Kani is using, including the rustc version, git commit hash, commit date, and LLVM version.
While at it, also adds git build revision output to said verbose version output.

The output of kani --version --verbose now looks like this:

Kani Rust Verifier 0.66.0 (kani-0.66.0-10-g21a9b31-dirty) (standalone)
using rustc 1.93.0-nightly (29a69716f 2025-11-10) (commit 29a69716 2025-11-10) with LLVM 21.1.5

Resolves: #2617
Resolves: #2872

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

Enhances the `cargo kani --version --verbose` command to display
comprehensive information about the underlying Rust compiler that Kani
is using, including the rustc version, git commit hash, commit date, and
LLVM version.
While at it, also adds git build revision output to said verbose version
output.

The output of `kani --version --verbose` now looks like this:
```
Kani Rust Verifier 0.66.0 (kani-0.66.0-10-g21a9b31-dirty) (standalone)
using rustc 1.93.0-nightly (29a69716f 2025-11-10) (commit 29a69716 2025-11-10) with LLVM 21.1.5
```

Resolves: model-checking#2617
Resolves: model-checking#2872
@tautschnig tautschnig requested a review from a team as a code owner November 11, 2025 13:23
@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 Nov 11, 2025
@tautschnig tautschnig self-assigned this Nov 12, 2025
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.

cargo kani --version --verbose could show the rustc version/commit that kani is using Print Kani development version info

1 participant