rust/library/std/src/os
Matthias Krüger 33e2e71502
Rollup merge of #115489 - saethlin:is-interrupted, r=thomcc
Use std::io::Error::is_interrupted everywhere

In https://github.com/rust-lang/rust/pull/115228 I introduced this helper and started using it, this PR uses it to replace all applicable uses of `std::io::Error::kind`. The justification is the same; for whatever reason LLVM totally flops optimizing `Error::kind` so it's nice to use it less.

FYI ``@mkroening`` I swear the hermit changes look good, but I was so sure about the previous PR.
2023-09-03 21:38:43 +02:00
..
android Add definitions for riscv64_linux_android target 2023-07-26 11:46:48 -07:00
dragonfly Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
emscripten Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
espidf Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
fd replace version placeholders 2023-04-28 08:47:55 -07:00
fortanix_sgx Export Cancel from std::os::fortanix_sgx::usercalls::raw 2022-08-22 08:54:50 -07:00
freebsd Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
fuchsia Add definitions for riscv64gc-unknown-fuchsia 2023-04-25 16:42:59 -07:00
haiku Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
hermit remove code duplications 2023-02-24 15:30:14 +01:00
horizon Update libc::stat field names 2022-06-13 20:44:58 -07:00
illumos Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
ios wip: Support Apple tvOS in libstd 2023-06-21 14:59:37 -07:00
l4re add a csky-unknown-linux-gnuabiv2 target 2023-08-14 23:02:36 +08:00
linux add a csky-unknown-linux-gnuabiv2 target 2023-08-14 23:02:36 +08:00
macos Add creation time support to FileTimes on apple and windows 2023-05-15 15:04:39 +01:00
net replace version placeholders 2023-04-28 08:47:55 -07:00
netbsd Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
nto Update library/std/src/os/nto/mod.rs 2023-03-01 06:42:40 +01:00
openbsd Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
raw Remove #[cfg(all())] workarounds from c_char 2023-06-16 12:17:12 +00:00
redox Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
solaris Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
solid Add SOLID targets 2021-09-28 11:31:47 +09:00
unix Use std::io::Error::is_interrupted everywhere 2023-09-03 09:21:10 -04:00
vita PS Vita std support 2023-05-07 18:57:43 +03:00
vxworks Take sys/vxworks/{fd,fs,io} from sys/unix instead. 2020-10-16 06:19:00 +02:00
wasi Use std::io::Error::is_interrupted everywhere 2023-09-03 09:21:10 -04:00
watchos Add creation time support to FileTimes on apple and windows 2023-05-15 15:04:39 +01:00
windows Added option to set ProcThreadAttributes for Windows processes 2023-08-25 16:30:34 +02:00
mod.rs wip: Support Apple tvOS in libstd 2023-06-21 14:59:37 -07:00