Skip to content

Commit 5ea263a

Browse files
temporarily disable is_safe check for CStr
1 parent f2db5e4 commit 5ea263a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/core/src/ffi/c_str.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,8 @@ mod verify {
903903

904904
let result = CStr::from_bytes_until_nul(slice);
905905
if let Ok(c_str) = result {
906-
assert!(c_str.is_safe());
906+
//Will be added after https://github.com/model-checking/kani/issues/4310 is fixed
907+
//assert!(c_str.is_safe());
907908
}
908909
}
909910

0 commit comments

Comments
 (0)