There was an error while loading. Please reload this page.
1 parent 7c6f3fe commit adaad6dCopy full SHA for adaad6d
1 file changed
crates/guard/src/lib.rs
@@ -22,6 +22,7 @@ fn next_spawn_id() -> u64 {
22
}
23
24
/// Returns the workspace root directory.
25
+// TODO: Should this use something like `git rev-parse --show-toplevel` to avoid being directory-relative? Or perhaps `CARGO_WORKSPACE_DIR` is set?
26
fn workspace_root() -> PathBuf {
27
let manifest_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
28
manifest_dir
0 commit comments