rust/library/std/src
bors dd941450fb Auto merge of #84967 - CDirkx:os_str_ext, r=m-ou-se
Move `OsStringExt` and `OsStrExt` to `std::os`

Moves the `OsStringExt` and `OsStrExt` traits and implementations from `sys_common` to `os`. `sys_common` is for abstractions over `sys` and shouldn't really contain publicly exported items.

This does introduce some duplication: the traits and implementations are now duplicated in `unix`, `wasi`, `hermit`, and `sgx`. However, I would argue that this duplication is no different to how something like `MetadataExt` is duplicated in `linux`, `vxworkx`, `redox`, `solaris` etc. The duplication also matches the fact that the traits on different platforms are technically distinct types: any platform is free to add it's own extra methods to the extension trait.
2021-06-20 16:42:13 +00:00
..
backtrace Add Frames iterator for Backtrace 2021-01-23 11:56:33 -06:00
collections Rollup merge of #84328 - Folyd:stablize_map_into_keys_values, r=m-ou-se 2021-05-06 13:30:54 +02:00
env
error
f32 More lerp tests, altering lerp docs 2021-06-13 14:00:15 -04:00
f64 More lerp tests, altering lerp docs 2021-06-13 14:00:15 -04:00
ffi Add inline attr to private CString::into_inner 2021-05-26 13:12:54 +03:00
fs Fix test metadata_access_times to also check for Unsupported 2021-04-18 09:29:24 +02:00
io Auto merge of #85815 - YuhanLiin:buf-read-data-left, r=m-ou-se 2021-06-18 20:11:51 +00:00
lazy Upgrade wasm32 image to Ubuntu 20.04 2021-02-06 13:05:56 +01:00
net Remove is_unicast_site_local 2021-06-09 09:41:29 +02:00
num rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00
os Add comment to std::os::unix::ffi::os_str explaining that the module is reused on other platforms. 2021-06-20 12:06:19 +02:00
panic
path Refactor parse_prefix on Windows 2020-11-07 16:15:48 +01:00
prelude Stabilize {std, core}::prelude::rust_*. 2021-06-14 14:44:50 +00:00
process
sync Rollup merge of #80269 - pickfire:patch-4, r=joshtriplett 2021-06-15 17:39:58 +09:00
sys Move OsStringExt and OsStrExt to std::os 2021-06-20 11:55:01 +02:00
sys_common Auto merge of #84967 - CDirkx:os_str_ext, r=m-ou-se 2021-06-20 16:42:13 +00:00
thread std: Don't inline TLS accessor on MinGW 2021-05-20 12:45:05 -07:00
time Duration::zero() -> Duration::ZERO 2020-10-21 20:44:03 -07:00
alloc.rs Rename rterr to rtprintpanic 2021-05-19 15:52:09 +02:00
ascii.rs
backtrace.rs Add Frames iterator for Backtrace 2021-01-23 11:56:33 -06:00
env.rs change k to key and v to v in std::env mod 2021-05-10 19:31:09 +08:00
error.rs Rollup merge of #82179 - mbartlett21:patch-5, r=joshtriplett 2021-06-15 17:40:03 +09:00
f32.rs Change tracking issue 2021-06-13 14:04:43 -04:00
f64.rs Change tracking issue 2021-06-13 14:04:43 -04:00
fs.rs no_run and ignore doc attributes 2021-06-18 14:17:21 +03:00
keyword_docs.rs Rollup merge of #86141 - amorison:link-ref-in-doc-dyn-keyword, r=kennytm 2021-06-17 05:54:55 +09:00
lazy.rs Use DebugStruct::finish_non_exhaustive() in std. 2021-03-27 13:29:23 +01:00
lib.rs Auto merge of #86034 - nagisa:nagisa/rt-soundness, r=m-ou-se 2021-06-19 17:05:08 +00:00
macros.rs Change "etc." to "and similar" 2021-05-13 15:02:02 +01:00
num.rs
panic.rs Add #[track_caller] to panic_any 2021-05-27 14:19:47 +03:00
panicking.rs Rollup merge of #84687 - a1phyr:improve_rwlock, r=m-ou-se 2021-06-10 11:02:10 +09:00
path.rs Auto merge of #85747 - maxwase:path-symlinks-methods, r=m-ou-se 2021-06-18 17:13:19 +00:00
primitive_docs.rs remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
process.rs impl crate::error::Error for ExitStatusError 2021-05-12 11:12:20 +01:00
rt.rs Change entry point to 🛡️ against 💥 💥-payloads 2021-06-19 11:46:56 +03:00
time.rs Fix invalid align attribute generation on <td> elements 2021-06-04 10:10:13 +02:00