about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2023-01-11 17:05:15 +0000
committerMateusz Guzik <mjguzik@gmail.com>2023-01-11 17:09:12 +0000
commit753e57672296e13c534f87b6e2672a73fff4965c (patch)
tree0ac44be412e7c9cb10c3f39223a8c150868aed79 /compiler/rustc_codegen_llvm/src/errors.rs
parent3254bef9a79bd762b8cece2078abe168cb29ccb1 (diff)
downloadrust-753e57672296e13c534f87b6e2672a73fff4965c.tar.gz
rust-753e57672296e13c534f87b6e2672a73fff4965c.zip
Fix up stat test in libc-fs-with-isolation
The test relied on Error::last_os_error() coming from the stat call on
the passed file, but there is no guarantee this will be the case.

Instead extract errno from the error returned by the routine.

Patch de facto written by joboet.

Co-authored-by:	joboet <jonasboettiger@icloud.com>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions