about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-29 09:01:01 +0000
committerbors <bors@rust-lang.org>2022-01-29 09:01:01 +0000
commitca43894e0e350af2245ba7d9ad8b6e31e0d4786d (patch)
tree693a171e9d41ea80ecb9ca2c6f3f7e88d6c9dbff /compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
parent24ae9960c5116a6d1e827c58327e6d231e4fe174 (diff)
parent8c9944c50d9e5bce19e1a787b035356461935c4d (diff)
downloadrust-ca43894e0e350af2245ba7d9ad8b6e31e0d4786d.tar.gz
rust-ca43894e0e350af2245ba7d9ad8b6e31e0d4786d.zip
Auto merge of #93351 - anp:fuchsia-remove-dir-all, r=tmandry
Bump libc and fix remove_dir_all on Fuchsia after CVE fix

With the previous `is_dir` impl, we would attempt to unlink
a directory in the None branch, but Fuchsia supports returning
ENOTEMPTY from unlinkat() without the AT_REMOVEDIR flag because
we don't currently differentiate unlinking files and directories
by default.

On the Fuchsia side I've opened https://fxbug.dev/92273 to discuss
whether this is the correct behavior, but it doesn't seem like
addressing the error code is necessary to make our tests happy.

Depends on https://github.com/rust-lang/libc/pull/2654 since we
apparently haven't needed to reference DT_UNKNOWN before this.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
0 files changed, 0 insertions, 0 deletions