Skip to content

Commit 98cdc8e

Browse files
committed
Fix the libm-test logfile path
This was broken since the crate's location relative to the target directory had changed.
1 parent c257f55 commit 98cdc8e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

libm-test/src/lib.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,7 @@ pub fn test_log(s: &str) {
7171
return None;
7272
};
7373

74-
PathBuf::from(x)
75-
.parent()
76-
.unwrap()
77-
.parent()
78-
.unwrap()
79-
.join("target")
74+
PathBuf::from(x).join("../target")
8075
}
8176
};
8277
let outfile = target_dir.join("test-log.txt");

0 commit comments

Comments
 (0)