You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++'s std::string is modelled as a null-terminated Vec<u8>, but its type rule does not reflect this:
fnt1() -> Vec<libc::c_char>{Vec::new()}
Initializing strings with an empty vector, as opposed to initializing with vec![0], will cause problems with rules such as the rule for std::string::length, which assumes the string is null-terminated:
Activity
Initialize empty `std::string` values with a null terminator (Cpp2Rus…