vezel-dev / zig-sdk

An MSBuild SDK for building Zig, C, and C++ projects using the Zig compiler.

Home Page:https://docs.vezel.dev/zig-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Produce a graceful error if a project contains no source files

alexrp opened this issue · comments

$ zig c++ -Wl,-z,origin
zig: error: unable to execute command: program not executable
zig: error: linker command failed with exit code 1 (use -v to see invocation)

Errors like these are not very helpful for users. We can do better.