diff options
Diffstat (limited to 'test_util/src')
-rw-r--r-- | test_util/src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index db0114b8c..68a407dda 100644 --- a/test_util/src/lib.rs +++ b/test_util/src/lib.rs @@ -76,7 +76,10 @@ lazy_static! { } pub fn root_path() -> PathBuf { - PathBuf::from(concat!(env!("CARGO_MANIFEST_DIR"), "/..")) + PathBuf::from(concat!(env!("CARGO_MANIFEST_DIR"))) + .parent() + .unwrap() + .to_path_buf() } pub fn prebuilt_path() -> PathBuf { |