diff --git a/library/kani/src/internal.rs b/library/kani/src/internal.rs index 35550f2895e6..7141aa915682 100644 --- a/library/kani/src/internal.rs +++ b/library/kani/src/internal.rs @@ -130,6 +130,8 @@ pub unsafe fn write_any_slim(pointer: *mut T) { #[rustc_diagnostic_item = "KaniWriteAnyStr"] #[inline(always)] pub unsafe fn write_any_str(s: *mut str) { - (*s).as_bytes_mut().fill_with(u8::any) + //TODO: strings introduce new UB + //(*s).as_bytes_mut().fill_with(u8::any) //TODO: String validation + unreachable!("strings are not yet implemented") }