# cleanup \`update_cpu_feature.zig\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/bc3ed51b7f750e0471a97ec2f7724326885ba71a)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: bc3ed51b7f750e0471a97ec2f7724326885ba71a

Requested commit: bc3ed51b7f750e0471a97ec2f7724326885ba71a

Commit: bc3ed51b7f750e0471a97ec2f7724326885ba71a

Tree: 555b3a839dff917c03c5e7e05cd12a887f1d4876

Author: David Rubin

Committer: David Rubin

## Message

```
cleanup `update_cpu_feature.zig`

* Cleanup the argument handling logic to allow for optional arguments.
* Add a filter for which `llvm_target` to process.
* Switch to using a threadpool, needed for skipping llvm targets cleanly
  and better distributes the work.
* Remove a seemingly useless piece of logic. I re-ran the script and it gave identical outputs.

```

## Parents

- [e2f24a2d7096e4a28ba74513ed9473da0b7fb372](https://git.cafe/gitcafe/zig/commit/e2f24a2d7096e4a28ba74513ed9473da0b7fb372?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/bc3ed51b7f750e0471a97ec2f7724326885ba71a?format=markdown)
