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
Currently, the standard library implements std::os::hermit::ffi::{OsStrExt,OsStringExt} traits, which have the same interface as the those exported under std::os::unix for other platforms. Re-exporting them under the same path would make many more crates compatible with hermit.
The text was updated successfully, but these errors were encountered:
This is because Hermit is not a Unix OS. It is becoming more and more similar, but historically, Hermit was not cfg(unix) in rustc.
We could think about making Hermit cfg(unix), but that would be a larger undertaking because we would have to gauge the ecosystem implications of all crates using Hermit as if it was a proper Unix system.
For the meantime, adjusting those crates for cases where you need OsStrExt is easier.
Currently, the standard library implements
std::os::hermit::ffi::{OsStrExt,OsStringExt}
traits, which have the same interface as the those exported understd::os::unix
for other platforms. Re-exporting them under the same path would make many more crates compatible with hermit.The text was updated successfully, but these errors were encountered: