about summary refs log tree commit diff
path: root/pkgs/tools/misc/halp/fix-target-dir.patch
blob: 0bc1c8e3b5424196f901708d7208c74dae65e9c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/helper/args/mod.rs
+++ b/src/helper/args/mod.rs
@@ -129,9 +129,7 @@ mod tests {
 
     /// Returns the path of the test binary.
     fn get_test_bin() -> String {
-        PathBuf::from(env!("CARGO_MANIFEST_DIR"))
-            .join("target")
-            .join("debug")
+        PathBuf::from("@releaseDir@")
             .join(format!("{}-test", env!("CARGO_PKG_NAME")))
             .to_string_lossy()
             .to_string()