pub fn recursive_remove<P: AsRef<Path>>(path: P)
Expand description
A wrapper around [build_helper::fs::recursive_remove
] which includes the file path in the
panic message.
This handles removing symlinks on Windows (e.g. symlink-to-file will be removed via
std::fs::remove_file
while symlink-to-dir will be removed via std::fs::remove_dir
).