Add more from the std
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
use crate::ffi::OsString;
|
||||
use crate::io::{Error, Result};
|
||||
|
||||
pub fn hostname() -> Result<OsString> {
|
||||
Err(Error::UNSUPPORTED_PLATFORM)
|
||||
}
|
||||
1
library/std/src/sys/net/hostname/unsupported.rs
Symbolic link
1
library/std/src/sys/net/hostname/unsupported.rs
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/julien/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/hostname/unsupported.rs
|
||||
Reference in New Issue
Block a user