Skip to content

Commit 2a4f0d1

Browse files
committed
Add proof of LinkedList::unlink_node
1 parent 4d7a0ff commit 2a4f0d1

File tree

8 files changed

+4722
-5
lines changed

8 files changed

+4722
-5
lines changed

.github/workflows/verifast.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ jobs:
2727
- name: Install VeriFast
2828
run: |
2929
cd ~
30-
curl -OL https://github.com/verifast/verifast/releases/download/24.12/verifast-24.12-linux.tar.gz
31-
# https://github.com/verifast/verifast/attestations/3689894
32-
echo '51bebf990f31666abcd3675000e7714ef79b417390e930953ef25383e8d59421 verifast-24.12-linux.tar.gz' | shasum -a 256 -c
33-
tar xf verifast-24.12-linux.tar.gz
30+
curl -OL https://github.com/verifast/verifast/releases/download/25.02/verifast-25.02-linux.tar.gz
31+
# https://github.com/verifast/verifast/attestations/4911733
32+
echo '5d5c87d11b3d735f44c3f0ca52aebc89e3c4d1119d98ef25188d07cb57ad65e8 verifast-25.02-linux.tar.gz' | shasum -a 256 -c
33+
tar xf verifast-25.02-linux.tar.gz
3434
3535
- name: Install the Rust toolchain used by VeriFast
3636
run: rustup toolchain install nightly-2024-11-23
3737

3838
- name: Run VeriFast Verification
3939
run: |
40-
export PATH=~/verifast-24.12/bin:$PATH
40+
export PATH=~/verifast-25.02/bin:$PATH
4141
cd verifast-proofs
4242
mysh check-verifast-proofs.mysh
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// verifast_options{skip_specless_fns}
2+
3+
#![no_std]
4+
#![allow(internal_features)]
5+
#![allow(incomplete_features)]
6+
#![feature(allocator_api)]
7+
#![feature(staged_api)]
8+
#![feature(rustc_attrs)]
9+
#![feature(dropck_eyepatch)]
10+
#![feature(specialization)]
11+
#![feature(extend_one)]
12+
#![feature(exact_size_is_empty)]
13+
#![feature(hasher_prefixfree_extras)]
14+
#![feature(box_into_inner)]
15+
16+
#![stable(feature = "rust1", since = "1.0.0")]
17+
18+
extern crate alloc as std;
19+
20+
#[stable(feature = "rust1", since = "1.0.0")]
21+
pub use std::alloc as alloc;
22+
#[stable(feature = "rust1", since = "1.0.0")]
23+
pub use std::boxed as boxed;
24+
25+
trait SpecExtend<I> {
26+
fn spec_extend(&mut self, iter: I);
27+
}
28+
29+
pub mod linked_list;

0 commit comments

Comments
 (0)