diff options
Diffstat (limited to '.run/src/dependency_order.rs')
| -rw-r--r-- | .run/src/dependency_order.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.run/src/dependency_order.rs b/.run/src/dependency_order.rs index 1fe5966..7235f12 100644 --- a/.run/src/dependency_order.rs +++ b/.run/src/dependency_order.rs @@ -121,7 +121,7 @@ fn topological_sort( /// Find the workspace root by looking for a Cargo.toml with `[workspace]` members. /// Starts from `start` and walks up the directory tree. -fn find_workspace_root(start: &std::path::Path) -> Option<PathBuf> { +pub fn find_workspace_root(start: &std::path::Path) -> Option<PathBuf> { let mut current = Some(std::fs::canonicalize(start).unwrap_or_else(|_| start.to_path_buf())); while let Some(dir) = current { let members = get_workspace_members(&dir); |
