# compiler: Fix computation of Compilation.Config.any_unwind_tables\. · gitcafe/zig

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

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

Visibility: public

Requested revision: ef4d7f01a5c26d8ed6fa8236d1b64e4091a51be3

Requested commit: ef4d7f01a5c26d8ed6fa8236d1b64e4091a51be3

Commit: ef4d7f01a5c26d8ed6fa8236d1b64e4091a51be3

Tree: 80da7b2ae3a66a5e394d31ccd62421529a14929b

Author: Alex Rønne Petersen

Committer: mlugg

## Message

```
compiler: Fix computation of Compilation.Config.any_unwind_tables.

This moves the default value logic to Package.Module.create() instead and makes
it so that Compilation.Config.any_unwind_tables is computed similarly to
any_sanitize_thread, any_fuzz, etc. It turns out that for any_unwind_tables, we
only actually care if unwind tables are enabled at all, not at what level.

```

## Parents

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

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