Skip to content

Commit

Permalink
improve performance for align offset harness
Browse files Browse the repository at this point in the history
  • Loading branch information
carolynzech committed Sep 18, 2024
1 parent 351e958 commit 7707ea5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions library/core/src/ptr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2552,8 +2552,9 @@ mod verify {
}

#[kani::proof_for_contract(align_offset)]
fn check_align_offset_17() {
let p = kani::any::<usize>() as *const [char; 17];
#[kani::solver(kissat)]
fn check_align_offset_5() {
let p = kani::any::<usize>() as *const [char; 5];
check_align_offset(p);
}

Expand Down

0 comments on commit 7707ea5

Please sign in to comment.