# stage2: cleanups to \-\-compress-debug-sections · gitcafe/zig

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

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

Visibility: public

Requested revision: 2b99182e25e045109b090a794bb06295b09a0eeb

Requested commit: 2b99182e25e045109b090a794bb06295b09a0eeb

Commit: 2b99182e25e045109b090a794bb06295b09a0eeb

Tree: 4cbb93210359b2b1f7e8359752807c8eb4dcf353

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: cleanups to --compress-debug-sections

 * make the setting in the linker backend be non-optional; by this time
   all defaults are supposed to be resolved.
 * integrate with `zig cc`
 * change the CLI parsing to match C compiler parsing, allowing
   `--compress-debug-sections` alone to choose a default encoding of
   zlib.

```

## Parents

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

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