about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-01 06:09:00 +0000
committerbors <bors@rust-lang.org>2024-10-01 06:09:00 +0000
commitc37539d149182c183ce0d0a05ae6453a1a63342a (patch)
tree214b9d2a13411a520a62f0c73a16e3094eecf1e1 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent8c0adc6716ff1c5b1ef3de0e8972d45cb1053b27 (diff)
parentdf6c27db4e0f6060339ea1289ce87b8cbb3aa729 (diff)
downloadrust-c37539d149182c183ce0d0a05ae6453a1a63342a.tar.gz
rust-c37539d149182c183ce0d0a05ae6453a1a63342a.zip
Auto merge of #3923 - tiif:refactor, r=RalfJung
Refactor ``return_read_bytes_and_count`` and ``return_written_byte_count_or_error``

Fixes #3904

This PR
- separate the error logic from ``return_read_bytes_and_count`` and ``return_written_byte_count_or_error`` into a helper function ``set_last_error_and_return``.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions