Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mesonbuild/compilers/compilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ def run(self, code: 'mesonlib.FileOrString',
mlog.debug(so)
mlog.debug('Program stderr:\n')
mlog.debug(se)
return RunResult(True, pe.returncode, so, se)
return RunResult(pe.returncode == 0, pe.returncode, so, se)

# Caching run() in general seems too risky (no way to know what the program
# depends on), but some callers know more about the programs they intend to
Expand Down
Loading