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];
}

View File

@@ -23,6 +23,7 @@
- Splatting optional compile-time macro parameter from inside lambda expression does not work #2532.
- Compiler segfault when getting a nonexistant member from an unnamed struct #2533.
- Correctly mention aliased type when method is not implemented #2534.
- Regression: Not printing backtrace when tests fail for MacOS #2536.
### Stdlib changes
- Sorting functions correctly took slices by value, but also other types by value. Now, only slices are accepted by value, other containers are always by ref.