refactoring progress, use valgrind on exe

This commit is contained in:
Anton-4 2024-10-09 20:04:36 +02:00
parent 57c0f0d3c2
commit 3bad18dc92
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
204 changed files with 555 additions and 693 deletions

View file

@ -21,7 +21,7 @@ pub fn strip_windows_prefix(path_buf: &Path) -> PathBuf {
pub fn root_dir() -> PathBuf {
let mut path = env::current_exe().ok().unwrap();
// Get rid of the filename in target/debug/deps/cli_run-99c65e4e9a1fbd06
// Get rid of the filename in target/debug/deps/cli_tests-99c65e4e9a1fbd06
path.pop();
// If we're in deps/ get rid of deps/ in target/debug/deps/