File tree Expand file tree Collapse file tree 5 files changed +5
-6
lines changed Expand file tree Collapse file tree 5 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 193193#![ feature( unboxed_closures) ]
194194#![ feature( unsized_fn_params) ]
195195#![ feature( with_negative_coherence) ]
196- #![ cfg_attr( kani, feature( proc_macro_hygiene) ) ]
197196#![ rustc_preserve_ub_checks]
198197// tidy-alphabetical-end
199198//
Original file line number Diff line number Diff line change 246246#![ feature( unboxed_closures) ]
247247#![ feature( unsized_fn_params) ]
248248#![ feature( with_negative_coherence) ]
249+ #![ feature( proc_macro_hygiene) ]
249250// tidy-alphabetical-end
250251//
251252// Target features:
Original file line number Diff line number Diff line change @@ -2626,7 +2626,7 @@ mod verify {
26262626 }
26272627
26282628 #[ kani:: proof]
2629- pub fn check_swap_nonoverlapping_simple_untyped ( ) {
2629+ pub fn check_swap_nonoverlapping_simple_untyped_slice_ptr ( ) {
26302630 const ARR_SIZE : usize = ( 2 << 32 ) -1 ;
26312631 let mut x: [ u8 ; ARR_SIZE ] = kani:: any ( ) ;
26322632 let mut xs = kani:: slice:: any_slice_of_array_mut ( & mut x) ;
@@ -2636,6 +2636,5 @@ mod verify {
26362636 unsafe {
26372637 swap_nonoverlapping_simple_untyped ( xs. as_mut_ptr ( ) , ys. as_mut_ptr ( ) , s) ;
26382638 }
2639- }
2640-
2639+ }
26412640}
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ main() {
183183
184184 echo " Running Kani verify-std command..."
185185
186- " $kani_path " verify-std -Z unstable-options ./library --target-dir " $temp_dir_target " -Z function-contracts -Z mem-predicates -- output-format=terse $command_args
186+ " $kani_path " verify-std -Z unstable-options ./library --target-dir " $temp_dir_target " -Z function-contracts -Z mem-predicates -Z loop-contracts -- output-format=terse $command_args --enable-unstable --cbmc-args --object-bits 12
187187}
188188
189189main
Original file line number Diff line number Diff line change 22# incompatible with the verify-std repo.
33
44[kani ]
5- commit = " 5f8f513d297827cfdce4c48065e51973ba563068 "
5+ commit = " 8400296f5280be4f99820129bc66447e8dff63f4 "
You can’t perform that action at this time.
0 commit comments