about summary refs log tree commit diff
path: root/library/std/src
AgeCommit message (Expand)AuthorLines
2021-08-19Rename OptionFileHandle to HandleOrInvalid and make it just wrap an Option<Ow...Dan Gohman-80/+38
2021-08-19Don't encourage migration until io_safety is stablized.Dan Gohman-7/+8
2021-08-19Factor out Unix and WASI fd code into a common module.Dan Gohman-560/+298
2021-08-19Synchronize minor differences between Unix and WASI implementations.Dan Gohman-7/+9
2021-08-19Add more comments about the `INVALID_HANDLE_VALUE` situation.Dan Gohman-12/+30
2021-08-19Add comments about impls for File, TcpStream, ChildStdin, etc.Dan Gohman-0/+42
2021-08-19Fix copypasta of "Unix" within the WASI directory.Dan Gohman-1/+1
2021-08-19Reword the description of dup2/dup3.Dan Gohman-1/+1
2021-08-19Add Safety comments to the `As*` for `Owned*` implementations.Dan Gohman-0/+12
2021-08-19Add Owned*, Borrowed*, and As* to the preludes.Dan Gohman-4/+7
2021-08-19Rename `OwnedFd`'s private field to match it's debug output.Dan Gohman-85/+86
2021-08-19Delete a spurious empty comment line.Dan Gohman-1/+0
2021-08-19Add a comment about how `OwnedHandle` should not be used with registry handles.Dan Gohman-2/+15
2021-08-19Add a comment about `OptionFileHandle`.Dan Gohman-0/+4
2021-08-19Be more precise about `mmap` and undefined behavior.Dan Gohman-3/+3
2021-08-19Add a test to ensure that RawFd is the size we assume it is.Dan Gohman-0/+30
2021-08-19Update library/std/src/os/windows/io/socket.rsDan Gohman-1/+1
2021-08-19Update library/std/src/os/windows/io/handle.rsDan Gohman-1/+1
2021-08-19Update library/std/src/os/unix/io/fd.rsDan Gohman-1/+1
2021-08-19I/O safety.Dan Gohman-556/+2360
2021-08-19Rollup merge of #87874 - schneems:schneems/tcpstream-iterator-type, r=Mark-Si...Guillaume Gomez-7/+14
2021-08-19Auto merge of #88002 - hermitcore:unbox-mutex, r=dtolnaybors-3/+3
2021-08-19Add doctests to and fix saturating_div for signed integer typesMichael Watzko-0/+1
2021-08-18Rollup merge of #88109 - inquisitivecrystal:env-docs, r=m-ou-seGuillaume Gomez-5/+14
2021-08-18Rollup merge of #88012 - sunfishcode:sunfishcode/wasi-raw-fd-c-int, r=alexcri...Guillaume Gomez-54/+83
2021-08-17[review] fix commentthe8472-1/+1
2021-08-17Fix environment variable getter docsinquisitivecrystal-5/+14
2021-08-17Constified `Default` implementationsDeadbeef-1/+3
2021-08-17remove unnecessary empty checkMichael Hall-3/+5
2021-08-16correct overflows in the backslide case, add testThe8472-8/+48
2021-08-16feature gate doc(primitive)Joshua Nelson-0/+1
2021-08-16Apply suggestions from code reviewthe8472-2/+2
2021-08-13Change WASI's `RawFd` from `u32` to `c_int` (`i32`).Dan Gohman-54/+83
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-13add benchmarks for 1, 2, 4, 8, 16 threadsThe8472-0/+43
2021-08-13where available use 64- or 128bit atomics instead of a Mutex to monotonize timeThe8472-12/+122
2021-08-12Auto merge of #87963 - GuillaumeGomez:rollup-e54sbez, r=GuillaumeGomezbors-9/+30
2021-08-12Rollup merge of #87863 - ChrisDenton:command-env-path-fix, r=dtolnayGuillaume Gomez-9/+30
2021-08-12Auto merge of #87666 - ivmarkov:master, r=Amanieubors-43/+535
2021-08-12Auto merge of #87843 - kornelski:try_reserve, r=m-ou-sebors-9/+12
2021-08-10Specify maximum IP address lengthSmittyvb-1/+1
2021-08-11Rollup merge of #87848 - godmar:@godmar/thread-join-documentation-fix, r=josh...Yuki Okushi-31/+40
2021-08-10Add Saturating type (based on Wrapping type)Michael Watzko-0/+3
2021-08-10STD support for the ESP-IDF frameworkivmarkov-43/+535
2021-08-09Auto merge of #87820 - elichai:patch-2, r=kennytmbors-14/+14
2021-08-08## ContextRichard Schneeman-7/+14
2021-08-08Implement modern Windows arg parsingChris Denton-106/+154
2021-08-08Update Windows arg parsing testsChris Denton-17/+47