Skip to content

Commit aa177cc

Browse files
committed
Address comments
1 parent 4d1a924 commit aa177cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: library/core/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@
230230
#![feature(unboxed_closures)]
231231
#![feature(unsized_fn_params)]
232232
#![feature(with_negative_coherence)]
233+
// Required for Kani loop contracts, which are annotated as custom stmt attributes.
233234
#![feature(proc_macro_hygiene)]
234235
// tidy-alphabetical-end
235236
//

Diff for: library/core/src/str/validations.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,9 @@ pub mod verify {
284284
use super::*;
285285

286286
#[kani::proof]
287-
#[kani::unwind(8)]
288287
pub fn check_run_utf8_validation() {
289288
if kani::any() {
290-
// TODO: ARR_SIZE can be `std::usize::MAX` with cbmc argument
289+
// TODO: ARR_SIZE can be much larger with cbmc argument
291290
// `--arrays-uf-always`
292291
const ARR_SIZE: usize = 1000;
293292
let mut x: [u8; ARR_SIZE] = kani::any();

0 commit comments

Comments
 (0)