about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-09-03 21:38:43 +0200
committerGitHub <noreply@github.com>2023-09-03 21:38:43 +0200
commit33e2e715029b376253a20f9c2aa1b755f53b872e (patch)
tree3b07041327c9d593c72727a885e6daa23895a999 /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parentd22043c27cf66f330b262fe62846f949448d425c (diff)
parent642251b71f8395f7dd24e04c9d2b1716d3963112 (diff)
downloadrust-33e2e715029b376253a20f9c2aa1b755f53b872e.tar.gz
rust-33e2e715029b376253a20f9c2aa1b755f53b872e.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions