rust/library/std/src/sys_common
Yuki Okushi 1176d306cd
Rollup merge of #86509 - CDirkx:os_str, r=m-ou-se
Move `os_str_bytes` to `sys::unix`

Followup to #84967, with `OsStrExt` and `OsStringExt` moved out of `sys_common`, there is no reason anymore for `os_str_bytes` to live in `sys_common` and not in sys. This pr moves it to the location `sys::unix::os_str` and reuses the code on other platforms via `#[path]` (as is common in `sys`) instead of importing.
2021-08-02 11:03:20 +09:00
..
condvar Migrate standard library away from compare_and_swap 2020-12-22 12:19:46 +01:00
memchr Move std::memchr to sys_common 2021-05-14 03:54:46 +02:00
net std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
remutex Use Pin for the 'don't move' requirement of ReentrantMutex. 2020-12-08 22:57:57 +01:00
thread_local_key std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
thread_parker Migrate standard library away from compare_and_swap 2020-12-22 12:19:46 +01:00
wtf8 Auto merge of #86463 - fee1-dead:fixed-encode_wide, r=m-ou-se 2021-06-20 02:18:51 +00:00
backtrace.rs [backtraces]: look for the begin symbol only after seeing end 2021-07-29 13:51:27 -04:00
condvar.rs Make it possible to have unboxed condvars on specific platforms. 2020-10-02 09:47:08 +02:00
fs.rs Move the implementation of Path::exists to sys_common::fs so platforms can specialize it 2021-05-19 23:54:56 +01:00
io.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
memchr.rs Move std::memchr to sys_common 2021-05-14 03:54:46 +02:00
mod.rs Move os_str_bytes to sys::unix and reuse it on other platforms. 2021-07-03 03:01:36 +02:00
mutex.rs Remove lifetime from StaticMutex and assume 'static. 2020-10-14 09:52:03 +02:00
net.rs Use io::Error::new_const everywhere to avoid allocations. 2021-03-21 20:22:38 +01:00
process.rs Add accessors to Command. 2020-09-26 18:58:38 -07:00
remutex.rs Use Pin for the 'don't move' requirement of ReentrantMutex. 2020-12-08 22:57:57 +01:00
rt.rs Rename rterr to rtprintpanic 2021-05-19 15:52:09 +02:00
rwlock.rs Multiple improvements to RwLocks 2021-06-01 09:07:55 +02:00
tests.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
thread.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
thread_info.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
thread_local_dtor.rs Fix a typo in thread_local_dtor.rs 2021-03-14 16:39:29 +09:00
thread_local_key.rs Migrate standard library away from compare_and_swap 2020-12-22 12:19:46 +01:00
wtf8.rs Account for self.extra in size_hint for EncodeWide 2021-06-19 12:59:22 +08:00