diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-09-03 21:38:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-03 21:38:43 +0200 |
| commit | 33e2e715029b376253a20f9c2aa1b755f53b872e (patch) | |
| tree | 3b07041327c9d593c72727a885e6daa23895a999 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | d22043c27cf66f330b262fe62846f949448d425c (diff) | |
| parent | 642251b71f8395f7dd24e04c9d2b1716d3963112 (diff) | |
| download | rust-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/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
