rust/library/std/src/sys/hermit
bors e7cdd4c090 Auto merge of #100576 - joboet:movable_const_remutex, r=Mark-Simulacrum
Make `ReentrantMutex` movable and `const`

As `MovableMutex` is now `const`, it can be used to simplify the implementation and interface of the internal reentrant mutex type. Consequently, the standard error stream does not need to be wrapped in `OnceLock` and `OnceLock::get_or_init_pin()` can be removed.
2022-09-04 22:53:58 +00:00
..
alloc.rs Remove #![allow(unsafe_op_in_unsafe_fn)] except for mod.rs 2020-10-08 22:13:19 +09:00
args.rs Move OsStringExt and OsStrExt to std::os 2021-06-20 11:55:01 +02:00
condvar.rs Hermit: Fix initializing lazy locks 2022-06-26 23:19:38 +02:00
env.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
fd.rs remove compiler warnings 2022-02-15 14:03:26 +01:00
fs.rs Address reviewer comments 2022-08-18 10:34:40 +01:00
memchr.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
mod.rs Support #[unix_sigpipe = "inherit|sig_dfl|sig_ign"] on fn main() 2022-08-28 19:46:45 +02:00
mutex.rs std: make ReentrantMutex movable and const; simplify Stdout initialization 2022-09-03 14:05:28 +02:00
net.rs Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00
os.rs Make getenv return an Option instead of a Result 2021-07-05 22:19:23 -07:00
rwlock.rs Hermit: Fix initializing lazy locks 2022-06-26 23:19:38 +02:00
stdio.rs Hide Repr details from io::Error, and rework io::Error::new_const. 2022-02-04 18:47:29 -08:00
thread.rs Hide Repr details from io::Error, and rework io::Error::new_const. 2022-02-04 18:47:29 -08:00
thread_local_dtor.rs Remove #![allow(unsafe_op_in_unsafe_fn)] except for mod.rs 2020-10-08 22:13:19 +09:00
time.rs Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00