I'm getting the panic from the getClangPath() function in build.zig
./src/cpp-build-template.zig/build.zig:212:9: 0x14bd9d6 in getClangPath (build)
@panic("Path Not Formatted Correctly");
^
This is on Alpine Linux.
$ which clang
/usr/bin/clang
$ clang --version
Alpine clang version 20.1.8
Target: x86_64-alpine-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm20/bin
Configuration file: /etc/clang20/x86_64-alpine-linux-musl.cfg
$ which zig
/usr/bin/zig
$ zig version
0.14.1
To reproduce:
$ git clone https://github.com/jacobhumphreys/cpp-build-template.zig
$ cd cpp-build-template.zig
$ zig build -Dbuild-static -Dbuild-dynamic
thread 15211 panic: Path Not Formatted Correctly
/home/pltrz/src/cpp-build-template.zig/build.zig:212:9: 0x14bd9d6 in getClangPath (build)
@panic("Path Not Formatted Correctly");
^
...
I'm getting the panic from the
getClangPath()function inbuild.zigThis is on Alpine Linux.
To reproduce: