diff options
Diffstat (limited to 'third_party/rust/remove_dir_all/src/lib.rs')
-rw-r--r-- | third_party/rust/remove_dir_all/src/lib.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/rust/remove_dir_all/src/lib.rs b/third_party/rust/remove_dir_all/src/lib.rs new file mode 100644 index 0000000000..1f73c2034a --- /dev/null +++ b/third_party/rust/remove_dir_all/src/lib.rs @@ -0,0 +1,18 @@ +#[cfg(windows)]
+extern crate winapi;
+
+#[cfg(test)]
+#[macro_use]
+extern crate doc_comment;
+
+#[cfg(test)]
+doctest!("../README.md");
+
+#[cfg(windows)]
+mod fs;
+
+#[cfg(windows)]
+pub use self::fs::remove_dir_all;
+
+#[cfg(not(windows))]
+pub use std::fs::remove_dir_all;
|