about summary refs log tree commit diff
path: root/library/std/src/sys_common
AgeCommit message (Expand)AuthorLines
2021-06-20Move `OsStringExt` and `OsStrExt` to `std::os`Christiaan Dirkx-63/+2
2021-06-20Auto merge of #86463 - fee1-dead:fixed-encode_wide, r=m-ou-sebors-1/+14
2021-06-19Account for self.extra in size_hint for EncodeWideDeadbeef-1/+14
2021-06-18Lint for unused borrows as part of UNUSED_MUST_USEhi-rustin-3/+3
2021-06-01Multiple improvements to RwLocksBenoît du Garreau-37/+83
2021-05-21Auto merge of #85060 - ChrisDenton:win-file-exists, r=yaahcbors-0/+8
2021-05-20Rollup merge of #85275 - CDirkx:memchr, r=m-ou-seGuillaume Gomez-0/+138
2021-05-19Move the implementation of `Path::exists` to `sys_common::fs` so platforms ca...Chris Denton-0/+8
2021-05-19Rename `rterr` to `rtprintpanic`Christiaan Dirkx-2/+6
2021-05-19Replace `sys_common::util::dumb_print` with `rterr!`Christiaan Dirkx-10/+0
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