We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8005bf commit dc52a27Copy full SHA for dc52a27
src/build_helper/src/fs/mod.rs
@@ -100,6 +100,10 @@ where
100
101
pub fn remove_and_create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
102
let path = path.as_ref();
103
- recursive_remove(path)?;
+ // FIXME(#134351): for reasons that are not clear yet, `tests/mir-opt/strip_debuginfo.rs`
104
+ // triggers various permission denied and dir not empty failures too frequently. Temporarily
105
+ // swallow the remove dir failure to make CI failure rate tolerable, but this is mostly likely
106
+ // masking a genuine bug, possibly some kind of race condition.
107
+ let _ = recursive_remove(path);
108
fs::create_dir_all(path)
109
}
0 commit comments