# don't inherit allowed deprecation from parent modules · gitcafe/zig

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

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

Visibility: public

Requested revision: c5aa680c88f7c03718460ff38e7cb1f7c5482cf2

Requested commit: c5aa680c88f7c03718460ff38e7cb1f7c5482cf2

Commit: c5aa680c88f7c03718460ff38e7cb1f7c5482cf2

Tree: 945c63b1778719f79ead29a757d227184a406d13

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
don't inherit allowed deprecation from parent modules

Inheriting allow-deprecation from parent modules doesn't make too much
sense, so instead make them default to disallow unless otherwise
specified. This allows build system to avoid redundant
`-fno-allow-deprecated` args.

This makes the generated CLIs smaller, and makes zig1.wasm update not
needed.

Also represented `is_root` differently (moved to field of graph).

```

## Parents

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

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