about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2024-07-17 19:53:28 -0500
committerGitHub <noreply@github.com>2024-07-17 19:53:28 -0500
commit3c4f820c5bf6627faf7c5e4bb1837ad47275b2b6 (patch)
tree89ea41498b0635db0e9534d0bee95f761e62f31f /compiler/rustc_codegen_llvm/src/errors.rs
parentd76ec075ab9a6e41ae4bb146a168065d8baa85da (diff)
parentd47cb26ddd6574de6c81caf9fdaadef1a108628a (diff)
downloadrust-3c4f820c5bf6627faf7c5e4bb1837ad47275b2b6.tar.gz
rust-3c4f820c5bf6627faf7c5e4bb1837ad47275b2b6.zip
Rollup merge of #127845 - workingjubilee:actually-break-up-big-ass-stack-overflow-fn, r=joboet
unix: break `stack_overflow::install_main_guard` into smaller fn

This was one big deeply-indented function for no reason. This made it hard to reason about the boundaries of its safety. Or just, y'know, read. Simplify it by splitting it into platform-specific functions, but which are still asked to keep compiling (a desirable property, since all of these OS use a similar API).

This is mostly a whitespace change, so I suggest reviewing it only after setting Files changed -> (the options gear) -> [x] Hide whitespace as that will make it easier to see how the code was actually broken up instead of raw line diffs.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions