Regression: Not printing backtrace when tests fail for MacOS #2536.

This commit is contained in:
Christoffer Lerno
2025-10-20 02:50:06 +02:00
parent a81f857d8c
commit b924ede71a
2 changed files with 2 additions and 1 deletions

View File

@@ -88,8 +88,8 @@ fn String? executable_path()
char[4096] buf;
uint temp_len = buf.len;
if (darwin_NSGetExecutablePath(&buf, &temp_len) < 0) return NOT_FOUND?;
path[:len] = buf[:len];
len = (int)((ZString)&buf).len();
path[:len] = buf[:len];
}
return (String)path[:len];
}