Add more from the std
This commit is contained in:
16
library/std/src/sys/os_str/mod.rs
Normal file
16
library/std/src/sys/os_str/mod.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
cfg_select! {
|
||||
any(target_os = "windows", target_os = "uefi") => {
|
||||
mod wtf8;
|
||||
pub use wtf8::{Buf, Slice};
|
||||
}
|
||||
any(target_os = "motor") => {
|
||||
mod utf8;
|
||||
pub use utf8::{Buf, Slice};
|
||||
}
|
||||
_ => {
|
||||
mod bytes;
|
||||
pub use bytes::{Buf, Slice};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user