diff options
| -rw-r--r-- | dev_tools/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev_tools/src/lib.rs b/dev_tools/src/lib.rs index 1b5dd0f..1e62a2d 100644 --- a/dev_tools/src/lib.rs +++ b/dev_tools/src/lib.rs @@ -92,6 +92,10 @@ pub fn cargo_tomls() -> Vec<std::path::PathBuf> { for entry in entries.flatten() { let path = entry.path(); if path.is_dir() { + // Skip the dev_tools directory + if path.file_name().and_then(|n| n.to_str()) == Some("dev_tools") { + continue; + } dirs.push(path); } else if path.file_name().and_then(|n| n.to_str()) == Some("Cargo.toml") { cargo_tomls.push(path); |
