about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorThe 8472 <git@infinite-source.de>2024-04-18 20:03:45 +0200
committerThe 8472 <git@infinite-source.de>2024-04-20 23:20:13 +0200
commit38ded129236f112a7421f311aeb8ca750b661443 (patch)
tree9d0e01771fc2e313f8fb0299f078b9867fc8253b /compiler/rustc_codegen_llvm/src/errors.rs
parentc5de414865186e55332f7929495daa2d930f0946 (diff)
downloadrust-38ded129236f112a7421f311aeb8ca750b661443.tar.gz
rust-38ded129236f112a7421f311aeb8ca750b661443.zip
Abort a process when FD ownership is violated
When an EBADF happens then something else already touched an FD in ways it is not allowed to.
At that point things can already be arbitrarily bad, e.g. clobbered mmaps.
Recovery is not possible.
All we can do is hasten the fire.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions