diff options
| author | Mateusz Guzik <mjguzik@gmail.com> | 2023-01-11 17:05:15 +0000 |
|---|---|---|
| committer | Mateusz Guzik <mjguzik@gmail.com> | 2023-01-11 17:09:12 +0000 |
| commit | 753e57672296e13c534f87b6e2672a73fff4965c (patch) | |
| tree | 0ac44be412e7c9cb10c3f39223a8c150868aed79 /compiler/rustc_codegen_llvm/src | |
| parent | 3254bef9a79bd762b8cece2078abe168cb29ccb1 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
