# zig2.c: omit non-essential subcommands · gitcafe/zig

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

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

Visibility: public

Requested revision: fea615710268582f488b894e4276938c5e385636

Requested commit: fea615710268582f488b894e4276938c5e385636

Commit: fea615710268582f488b894e4276938c5e385636

Tree: 64af53fec74ff3b913fa7eb98881187393635d69

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig2.c: omit non-essential subcommands

When producing zig2.c, don't waste time emitting C code for subcommands
that won't be used, such as objcopy.

This takes zig2.c down from 111M to 109M, and sidesteps some unfortunate
warnings that are currently emitted by GCC.

```

## Parents

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

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