make zig targets
emit well-formed json
#4213
Labels
Milestone
zig targets
emit well-formed json
#4213
zig targets
is a command that displays what targets are available, and the currently detected native target. Running it on the machine I'm currently using reports:I propose to change this to JSON format, for easier machine processing. Users who want to inspect the output would pipe it through a command line program such as
jq
or take advantage of a gui program's display capabilities, for example by opening the output with Firefox.Given that #3927 is about to land in master branch, this will make it more practical to put all the vast amount of CPU names and feature sets into this json file, in a way that will still be useful.
The text was updated successfully, but these errors were encountered: