rust/library/std/src/sys/hermit
bors 3b263ceb5c Auto merge of #81156 - DrMeepster:read_buf, r=joshtriplett
Implement most of RFC 2930, providing the ReadBuf abstraction

This replaces the `Initializer` abstraction for permitting reading into uninitialized buffers, closing #42788.

This leaves several APIs described in the RFC out of scope for the initial implementation:

* read_buf_vectored
* `ReadBufs`

Closes #42788, by removing the relevant APIs.
2021-12-09 10:11:55 +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: Implement Condvar::wait_timeout 2021-10-29 17:20:03 +02:00
env.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
fd.rs more efficent File::read_buf impl for windows and unix 2021-11-02 22:47:26 -07:00
fs.rs more efficent File::read_buf impl for windows and unix 2021-11-02 22:47:26 -07:00
memchr.rs mv std libs to library/ 2020-07-27 19:51:13 -05: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 Improving the readability 2021-11-24 21:12:56 +01:00
net.rs remove compiler warnings 2021-10-16 09:45:05 +02:00
os.rs Make getenv return an Option instead of a Result 2021-07-05 22:19:23 -07:00
rwlock.rs Don't put hermit rwlocks in a box. 2021-08-13 07:42:27 +02:00
stdio.rs Rename ErrorKind::Unknown to Uncategorized. 2021-06-15 14:30:13 +02:00
thread.rs Rename std:🧵:available_onccurrency to std:🧵:available_parallelism 2021-09-28 14:59:33 +02: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 mv std libs to library/ 2020-07-27 19:51:13 -05:00