Add more from the std
This commit is contained in:
6
library/std/src/sys/net/hostname/unsupported.rs
Normal file
6
library/std/src/sys/net/hostname/unsupported.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
use crate::ffi::OsString;
|
||||
use crate::io::{Error, Result};
|
||||
|
||||
pub fn hostname() -> Result<OsString> {
|
||||
Err(Error::UNSUPPORTED_PLATFORM)
|
||||
}
|
||||
Reference in New Issue
Block a user