zig cc
and zig c++
do not use stdout with -o -
arguments
#20709
Labels
Milestone
zig cc
and zig c++
do not use stdout with -o -
arguments
#20709
Zig Version
0.14.0-dev.367+a57479afc
Steps to Reproduce and Observed Behavior
When running
zig cc
orzig c++
with-o -
, arguments, the output should be written to stdout, like regularclang
or evenzig clang
does.With an empty
test.h
file: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.Expected Behavior
output:
The text was updated successfully, but these errors were encountered: