mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Regression: Not printing backtrace when tests fail for MacOS #2536.
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user