about summary refs log tree commit diff
path: root/library/std
AgeCommit message (Expand)AuthorLines
2021-08-20Auto merge of #87329 - sunfishcode:sunfishcode/io-safety, r=joshtriplettbors-711/+2229
2021-08-20Auto merge of #86898 - the8472:path-cmp, r=dtolnaybors-7/+108
2021-08-19Stabilize std::os::unix::fs::chrootJosh Triplett-2/+1
2021-08-19Fix doc test failures on Windows.Dan Gohman-1/+7
2021-08-19Auto merge of #88165 - GuillaumeGomez:rollup-4o0v2ps, r=GuillaumeGomezbors-7/+14
2021-08-19Factor out a common `RawFd`/`AsRawFd`/etc for Unix and WASI.Dan Gohman-525/+355
2021-08-19Fix syntax for non-doc comments, and use `crate::` instead of `std::`.Dan Gohman-6/+6
2021-08-19Add I/O safety trait impls for process::Stdio and process::Child.Dan Gohman-2/+36
2021-08-19Use the correct `into_*` on Windows to avoid dropping a stdio handle.Dan Gohman-2/+2
2021-08-19Remove the `#![feature(io_safety)]` from lib.rs.Dan Gohman-1/+0
2021-08-19Fix an unused import warning.Dan Gohman-1/+1
2021-08-19Update PidFd for the new I/O safety APIs.Dan Gohman-9/+33
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 #88151 - alexcrichton:update-backtrace, r=Mark-Simulacrumbors-2/+2
2021-08-19Update the backtrace crate in libstdAlex Crichton-2/+2
2021-08-19Auto merge of #88002 - hermitcore:unbox-mutex, r=dtolnaybors-4/+4
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-13switch to the latest version of hermit-abiStefan Lankes-1/+1
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