You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync the VeriFast proofs and provide guidance on same (#313)
Updates the VeriFast proofs after `linked_list.rs` was modified by
rust-lang@c39f33b
.
Also:
- Added a bash script that attempts to automatically patch the proofs
after the original file was changed.
- The VeriFast CI actions now produce an error alert suggesting to run
this script, if a source file that is the subject of a VeriFast proof is
changed.
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
Copy file name to clipboardExpand all lines: verifast-proofs/README.md
+3
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
3
3
This directory contains [VeriFast](../doc/src/tools/verifast.md) proofs for (currently a very, very small) part of the standard library.
4
4
5
+
> [!NOTE]
6
+
> TL;DR: If the VeriFast CI action fails because of a failing diff, please run `verifast-proofs/patch-verifast-proofs.sh` to fix the problem.
7
+
5
8
VeriFast supports selecting the code to verify on a function-by-function basis. By default, when given a `.rs` file VeriFast will try to verify [semantic well-typedness](https://verifast.github.io/verifast/rust-reference/non-unsafe-funcs.html) of all non-`unsafe` functions in that file (and in any submodules), and will require that the user provide specifications for all `unsafe` functions, which it will then verify against those specifications. However, when given the `-skip_specless_fns` command-line flag, VeriFast will skip all functions for which the user did not provide a specification.
echo"::error title=Please run verifast-proofs/patch-verifast-proofs.sh::Some VeriFast proofs are out of date; please run verifast-proofs/patch-verifast-proofs.sh to update them."
echo"::error title=Please run verifast-proofs/patch-verifast-proofs.sh::Some VeriFast proofs are out of date; please run verifast-proofs/patch-verifast-proofs.sh to update them."
0 commit comments