Ushering out strlcpy()
Ushering out strlcpy()
Posted Aug 30, 2022 15:26 UTC (Tue) by mathstuf (subscriber, #69389)In reply to: Ushering out strlcpy() by andy_shev
Parent article: Ushering out strlcpy()
I don't see the connection. The general purpose `std::string::String` might not work in all contexts, but there is a *lot* of code that doesn't work in such contexts anyways. The kernel is certainly free to make its own String which can be used from interrupts and such (with appropriate error handling of course); there's nothing magic about String in Rust and is "just" library code.
