Skip to content

Commit d21014a

Browse files
reduce ARR_SIZE write_bytes harness
1 parent 0ca03a8 commit d21014a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/core/src/ptr/non_null.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2746,7 +2746,7 @@ mod verify {
27462746
#[kani::proof_for_contract(NonNull::write_bytes)]
27472747
pub fn $harness_name() {
27482748
// Create a pointer generator for the given type with appropriate byte size
2749-
const ARR_SIZE: usize = mem::size_of::<$type>() * 100;
2749+
const ARR_SIZE: usize = mem::size_of::<$type>() * 10;
27502750
let mut generator = kani::PointerGenerator::<ARR_SIZE>::new();
27512751

27522752
// Get a raw pointer from the generator

0 commit comments

Comments
 (0)