We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d1a924 commit aa177ccCopy full SHA for aa177cc
library/core/src/lib.rs
@@ -230,6 +230,7 @@
230
#![feature(unboxed_closures)]
231
#![feature(unsized_fn_params)]
232
#![feature(with_negative_coherence)]
233
+// Required for Kani loop contracts, which are annotated as custom stmt attributes.
234
#![feature(proc_macro_hygiene)]
235
// tidy-alphabetical-end
236
//
library/core/src/str/validations.rs
@@ -284,10 +284,9 @@ pub mod verify {
284
use super::*;
285
286
#[kani::proof]
287
- #[kani::unwind(8)]
288
pub fn check_run_utf8_validation() {
289
if kani::any() {
290
- // TODO: ARR_SIZE can be `std::usize::MAX` with cbmc argument
+ // TODO: ARR_SIZE can be much larger with cbmc argument
291
// `--arrays-uf-always`
292
const ARR_SIZE: usize = 1000;
293
let mut x: [u8; ARR_SIZE] = kani::any();
0 commit comments