about summary refs log tree commit diff
path: root/library/std/src/sys_common
AgeCommit message (Expand)AuthorLines
2021-05-19Replace `sys_common::util::report_overflow` with `rterr!`Christiaan Dirkx-9/+0
2021-05-19Remove `sys_common::util::abort`Christiaan Dirkx-11/+6
2021-05-19Introduce `sys_common::rt::rterr!`Christiaan Dirkx-1/+9
2021-05-14Move `std::memchr` to `sys_common`Christiaan Dirkx-0/+138
2021-04-27Override `clone_from` method for PathBuf and OsStringBenoît du Garreau-1/+13
2021-04-25Auto merge of #84115 - CDirkx:rt, r=m-ou-sebors-127/+66
2021-04-24Rollup merge of #84387 - CDirkx:poison, r=m-ou-seYuki Okushi-258/+0
2021-04-22Rollup merge of #84402 - CDirkx:rwlock, r=dtolnayDylan DPC-59/+0
2021-04-22Remove `Once` from `init`Christiaan Dirkx-5/+6
2021-04-22Document that `init` and `cleanup` are not guaranteed to runChristiaan Dirkx-2/+3
2021-04-22Apply suggestions from reviewChristiaan Dirkx-2/+2
2021-04-22Move most init to `sys::init`Christiaan Dirkx-6/+1
2021-04-22Move all cleanup to `sys::cleanup`Christiaan Dirkx-2/+0
2021-04-22Rework `at_exit` to `cleanup`Christiaan Dirkx-127/+71
2021-04-22Move `sys_common::poison` to `sync::poison`Christiaan Dirkx-258/+0
2021-04-21Move `sys_common::rwlock::StaticRWLock` etc. to `sys::unix::rwlock`Christiaan Dirkx-59/+0
2021-04-21Replace all `fmt.pad` with `debug_struct`Christiaan Dirkx-1/+1
2021-04-14Update documentationChristiaan Dirkx-3/+5
2021-04-14Move `std::sys_common::alloc` to `std::sys::common`Christiaan Dirkx-49/+0
2021-03-27Improve fs error open_from unixIvan Tham-4/+6
2021-03-24Rollup merge of #83353 - m-ou-se:io-error-avoid-alloc, r=nagisaDylan DPC-4/+4
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-4/+4
2021-03-15Auto merge of #83121 - the8472:env-rwlock-2, r=joshtriplettbors-0/+59
2021-03-14Revert "Revert "use RWlock when accessing os::env #81850""The8472-0/+59
2021-03-14Fix a typo in thread_local_dtor.rsMotoki Ikeda-1/+1
2021-03-07Revert "use RWlock when accessing os::env #81850"Eric Huss-59/+0
2021-02-24library: Normalize safety-for-unsafe-block commentsMiguel Ojeda-2/+2
2021-02-15Rollup merge of #81975 - Amanieu:seal2, r=m-ou-seJonas Schievink-2/+9
2021-02-10Seal the CommandExt, OsStrExt and OsStringExt traitsAmanieu d'Antras-2/+9
2021-02-09split guard into read and write typesThe8472-15/+14
2021-02-08introduce StaticRWLock wrapper to make methods safeThe8472-49/+60
2021-02-07silence dead code warnings on windowsThe8472-0/+5
2021-02-07use rwlock for accessing ENVThe8472-0/+44
2021-01-06Optimize away some path lookups in the generic `fs::copy` implementation.Dan Gohman-4/+6
2020-12-22Migrate standard library away from compare_and_swapLinus Färnstrand-8/+8
2020-12-14Auto merge of #77618 - fusion-engineering-forks:windows-parker, r=Amanieubors-0/+2
2020-12-10Rollup merge of #79809 - Eric-Arellano:split-once, r=matkladTyler Mandry-4/+1
2020-12-08Use Pin for the 'don't move' requirement of ReentrantMutex.Mara Bos-48/+39
2020-12-08Remove unnecessary import of `crate::marker` in std::sys_common::remutex.Mara Bos-2/+1
2020-12-07Fix net.rs - rsplitn() returns a reverse iteratorEric Arellano-2/+1
2020-12-07Dogfood 'str_split_once()` in the std libEric Arellano-3/+1
2020-11-22Drop support for cloudabi targetsLzu Tao-2/+1
2020-10-16Rollup merge of #77648 - fusion-engineering-forks:static-mutex, r=dtolnayDylan DPC-12/+6
2020-10-16Rollup merge of #77646 - fusion-engineering-forks:use-static-mutex, r=dtolnayDylan DPC-17/+5
2020-10-16Rollup merge of #77619 - fusion-engineering-forks:wasm-parker, r=dtolnayDylan DPC-1/+5
2020-10-14Remove lifetime from StaticMutex and assume 'static.Mara Bos-12/+5
2020-10-14Fix comment about non-reentrant StaticMutex::lock().Mara Bos-2/+3
2020-10-08Remove unnecessary rustc_const_stable attributes.Mara Bos-1/+0
2020-10-07For backtrace, use StaticMutex instead of a raw sys Mutex.Mara Bos-17/+5
2020-10-06Use futex-based thread-parker for Wasm32.Mara Bos-1/+5