You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
zig cc and zig c++ do not use stdout with -o - arguments #20709
When running zig cc or zig c++ with -o -, arguments, the output should be written to stdout, like regular clang or even zig clang does.
With an empty test.h file:
zig c++ -E -x c++-header test.h -o -
this produces a file named - in the current working directory instead, which is especially annoying with running cmake, since it uses CC/CXX with -o - arguments to find compiler features and the c++ standard library.
Activity