summary refs log tree commit diff
path: root/library/std/src/sys
AgeCommit message (Expand)AuthorLines
2020-10-16Rollup merge of #77648 - fusion-engineering-forks:static-mutex, r=dtolnayDylan DPC-2/+2
2020-10-16Rollup merge of #77619 - fusion-engineering-forks:wasm-parker, r=dtolnayDylan DPC-0/+19
2020-10-14Remove lifetime from StaticMutex and assume 'static.Mara Bos-2/+2
2020-10-13box mutex to get a movable mutexStefan Lankes-1/+1
2020-10-14Rollup merge of #77722 - fusion-engineering-forks:safe-unsupported-locks, r=M...Yuki Okushi-37/+34
2020-10-14Rollup merge of #77719 - fusion-engineering-forks:const-new-mutex-attr-cleanu...Yuki Okushi-1/+0
2020-10-13Deny unsafe_op_in_unsafe_fn for unsupported/common.rs through sys/wasm too.Mara Bos-0/+2
2020-10-13Use fdatasync for File::sync_data on more OSesThomas de Zeeuw-2/+16
2020-10-13Add note about using cells in the locks on the 'unsupported' platform.Mara Bos-0/+2
2020-10-13Rollup merge of #77724 - sunfishcode:stdinlock-asrawfd, r=alexcrichtonYuki Okushi-0/+18
2020-10-12define required type 'MovableMutex'Stefan Lankes-0/+2
2020-10-12reuse implementation of the system provider "unsupported"Stefan Lankes-0/+1
2020-10-12remove obsolete function divergeStefan Lankes-153/+0
2020-10-11Auto merge of #77727 - thomcc:mach-info-order, r=Amanieubors-42/+50
2020-10-11add hermit to the list of omit OSStefan Lankes-0/+1
2020-10-11revise code to pass the format checkStefan Lankes-3/+3
2020-10-11fix typos in new methodStefan Lankes-1/+5
2020-10-11revise comments and descriptions of the helper functionsStefan Lankes-3/+2
2020-10-11revise code to pass the format checkStefan Lankes-14/+5
2020-10-11revise Hermit's mutex interface to support the behaviour of StaticMutexStefan Lankes-8/+182
2020-10-11Rollup merge of #77748 - mati865:dead-code-cleanup, r=petrochenkovYuki Okushi-64/+0
2020-10-10Auto merge of #77717 - tmiasko:posix-spawn-error-check, r=cuviperbors-18/+24
2020-10-09simplify the cfg in ReadDir constructionJosh Stone-8/+6
2020-10-09remove ReadDir.end_of_stream on targets that don't use itJosh Stone-1/+18
2020-10-09unix/vxworks: make DirEntry slightly smallerJosh Stone-10/+8
2020-10-09Remove some dead code in windows-gnu stdMateusz Mikuła-64/+0
2020-10-08Implement the same optimization in windows/timeThom Chiovoloni-19/+17
2020-10-08Switch to using a single atomic and treating 0 as 'uninitialized'Thom Chiovoloni-16/+12
2020-10-09Assert state in sys/unsupported's RwLock::write_unlock.Mara Bos-1/+1
2020-10-08Fiddle with the commentsThom Chiovoloni-5/+5
2020-10-08Check for errors returned from posix_spawn*_init functionsTomasz Miąsko-8/+10
2020-10-08Check for non-zero return value from posix_spawn functionsTomasz Miąsko-10/+14
2020-10-08Apply deny(unsafe_op_in_unsafe_fn) to all of sys/unsupported.Mara Bos-9/+10
2020-10-08Implement `AsRawFd` for `StdinLock` etc. on WASI.Dan Gohman-0/+18
2020-10-08Avoid SeqCst or static mut in mach_timebase_info cacheThom Chiovoloni-22/+36
2020-10-08Remove unsafety from unsupported/rwlosck.rs by using a Cell.Mara Bos-18/+16
2020-10-08Remove unsafety from unsupported/mutex.rs by using a Cell.Mara Bos-14/+8
2020-10-08Remove unnecessary rustc_const_stable attributes.Mara Bos-1/+0
2020-10-08Auto merge of #77346 - Caduser2020:master, r=Mark-Simulacrumbors-119/+170
2020-10-08`#[deny(unsafe_op_in_unsafe_fn)]` in sys/sgxCaduser2020-119/+170
2020-10-08Remove #![allow(unsafe_op_in_unsafe_fn)] except for mod.rsmaekawatoshiki-15/+0
2020-10-07Formatting.Mara Bos-1/+5
2020-10-07Get rid of raw pointers and UnsafeCell in cloudabi condvar.Mara Bos-25/+16
2020-10-07Get rid of UnsafeCell in cloudabi rwlock.Mara Bos-24/+21
2020-10-07Get rid of UnsafeCell<MaybeUninit>s in cloudabi mutex.Mara Bos-28/+24
2020-10-07Use slice_as_mut_ptr instead of first_ptr_mut.Mara Bos-1/+1
2020-10-06Use futex-based thread-parker for Wasm32.Mara Bos-0/+19
2020-10-04Update libc to 0.2.79Josh Triplett-23/+3
2020-10-04Auto merge of #77380 - fusion-engineering-forks:unbox-the-mutex, r=dtolnaybors-0/+33
2020-10-03Rollup merge of #77182 - GuillaumeGomez:missing-examples-fd-traits, r=pickfireJonas Schievink-0/+40