Auto merge of #3941 - noahmbright:unix_shims, r=oli-obk

Replace set_last_error with set_last_error_and_return

Took care of the simple patterns. Other patterns involved setting an error and then using `write_int` or setting metadata and returning -1. Unsure if those are in the scope of this change

Looks like this has conflicts with #3779, so I can update when how to handle that is decided.

Part of https://github.com/rust-lang/miri/issues/3930.
This commit is contained in:
bors 2024-10-21 13:58:28 +00:00
commit d3fca28520

Diff content is not available