diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-04-20 04:48:51 +0000 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-04-20 00:58:50 -0400 |
| commit | d02b25fd6e6c8da41f0248333df93a03dc53fec1 (patch) | |
| tree | 434fe6d9f83d962a8e14dbbcc8d75a37e2268042 | |
| parent | 0d0d3172424cfc4386976d35fc1ce7710a07d1eb (diff) | |
| download | rust-d02b25fd6e6c8da41f0248333df93a03dc53fec1.tar.gz rust-d02b25fd6e6c8da41f0248333df93a03dc53fec1.zip | |
Fix the libm-test logfile path
This was broken since the crate's location relative to the target directory had changed.
| -rw-r--r-- | library/compiler-builtins/libm-test/src/lib.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/library/compiler-builtins/libm-test/src/lib.rs b/library/compiler-builtins/libm-test/src/lib.rs index 730318abcba..accb39654d1 100644 --- a/library/compiler-builtins/libm-test/src/lib.rs +++ b/library/compiler-builtins/libm-test/src/lib.rs @@ -71,12 +71,7 @@ pub fn test_log(s: &str) { return None; }; - PathBuf::from(x) - .parent() - .unwrap() - .parent() - .unwrap() - .join("target") + PathBuf::from(x).join("../target") } }; let outfile = target_dir.join("test-log.txt"); |
