std.Build.RunStep: fix default caching logic

RunStep is supposed to auto-detect whether the intend is for
side-effects or for producing an output file. The auto-detection logic
was incorrect, and this commit fixes it.

I tested this manually locally. Automated testing will require a more
significant investment in the test harness, which I will work on in a
future enhancement.

closes #14666
5e7b09ce9fAndrew Kelley committed on 2/19/2023, 12:33:47 AMparent07630eb
1 file changedLine totals unavailable