about summary refs log tree commit diff
path: root/library/std/src/sys/hermit
AgeCommit message (Expand)AuthorLines
2022-06-08remove unneeded codeStefan Lankes-5/+0
2022-06-03Use Drop instead of destroy() for locks.Mara Bos-12/+7
2022-05-09Use Rust 2021 prelude in std itself.Mara Bos-2/+0
2022-04-16Use a single ReentrantMutex implementation on all platforms.Mara Bos-36/+0
2022-04-14library: Remove definitions and reexports of `strlen` from libstdVadim Petrochenkov-10/+0
2022-04-06Rename RWLock to RwLock in std::sys.Mara Bos-7/+7
2022-03-22Move std::sys::{mutex, condvar, rwlock} to std::sys::locks.Mara Bos-6/+12
2022-02-15remove compiler warningsStefan Lankes-1/+1
2022-02-13make Instant::{duration_since, elapsed, sub} saturating and remove workaroundsThe8472-8/+0
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-37/+36
2021-12-09Auto merge of #81156 - DrMeepster:read_buf, r=joshtriplettbors-2/+6
2021-11-24Improving the readabilityStefan Lankes-1/+1
2021-11-24If the thread does not get the lock in the short term, yield the CPUStefan Lankes-1/+10
2021-11-02more efficent File::read_buf impl for windows and unixDrMeepster-2/+6
2021-10-29hermit: Implement Condvar::wait_timeoutMartin Kröning-2/+14
2021-10-16remove compiler warningsStefan Lankes-1/+1
2021-09-28Rename `std::thread::available_onccurrency` to `std::thread::available_parall...Yoshua Wuyts-1/+1
2021-08-30add `TcpStream::set_linger` and `TcpStream::linger`ibraheemdev-0/+8
2021-08-13Don't put hermit mutexes in a box.Martin Kröning-1/+1
2021-08-13Don't put hermit condvars in a box.Martin Kröning-1/+1
2021-08-13Don't put hermit rwlocks in a box.Martin Kröning-1/+1
2021-08-02Rollup merge of #86509 - CDirkx:os_str, r=m-ou-seYuki Okushi-1/+2
2021-07-05Make `getenv` return an Option instead of a ResultAris Merchant-7/+2
2021-07-03Move `os_str_bytes` to `sys::unix` and reuse it on other platforms.Christiaan Dirkx-1/+2
2021-07-02Auto merge of #85746 - m-ou-se:io-error-other, r=joshtriplettbors-29/+34
2021-06-25Fix a few misspellings.Eric Huss-1/+1
2021-06-21Use `Unsupported` on platforms where `available_concurrency` is not implemented.Christiaan Dirkx-4/+2
2021-06-21Move `available_concurrency` implementation to `sys`Christiaan Dirkx-0/+8
2021-06-20Move `OsStringExt` and `OsStrExt` to `std::os`Christiaan Dirkx-3/+3
2021-06-15Rename ErrorKind::Unknown to Uncategorized.Mara Bos-28/+32
2021-06-15Fix copy-paste error in sys/hermit error message.Mara Bos-1/+1
2021-06-15Redefine `ErrorKind::Other` and stop using it in std.Mara Bos-27/+28
2021-06-01Multiple improvements to RwLocksBenoît du Garreau-0/+2
2021-05-21Auto merge of #85060 - ChrisDenton:win-file-exists, r=yaahcbors-1/+1
2021-05-19Move the implementation of `Path::exists` to `sys_common::fs` so platforms ca...Chris Denton-1/+1
2021-05-14Move `std::memchr` to `sys_common`Christiaan Dirkx-1/+1
2021-05-03Move `std::sys::hermit::ext` to `std::os::hermit`Christiaan Dirkx-53/+0
2021-04-30Auto merge of #84522 - CDirkx:cmath, r=yaahcbors-29/+1
2021-04-28Reuse `unix::cmath`Christiaan Dirkx-29/+1
2021-04-27Rollup merge of #84521 - CDirkx:hermit-dedup, r=Mark-SimulacrumDylan DPC-92/+3
2021-04-25Auto merge of #84115 - CDirkx:rt, r=m-ou-sebors-8/+10
2021-04-24Reuse `unix::path` and `unsupported::{io, thread_local_key}` on `hermit`Christiaan Dirkx-92/+3
2021-04-23Explicitly implement `!Send` and `!Sync` for `sys::{Args, Env}`Christiaan Dirkx-6/+8
2021-04-22Rollup merge of #84413 - CDirkx:args_inner_debug, r=m-ou-seDylan DPC-3/+4
2021-04-22Document that `init` and `cleanup` are not guaranteed to runChristiaan Dirkx-0/+2
2021-04-22Move most init to `sys::init`Christiaan Dirkx-4/+2
2021-04-22Remove `sys::args::Args::inner_debug` and use `Debug` insteadChristiaan Dirkx-3/+4
2021-04-22Move all cleanup to `sys::cleanup`Christiaan Dirkx-4/+3
2021-04-22Rework `at_exit` to `cleanup`Christiaan Dirkx-2/+5
2021-04-20Change uses of never typeChristiaan Dirkx-29/+29