# update_cpu_features: Don't delete the output file if there are no CPU features\. · gitcafe/zig

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

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

Visibility: public

Requested revision: cb1ac0bb2fb95424118404160704d53a3ff2a2c0

Requested commit: cb1ac0bb2fb95424118404160704d53a3ff2a2c0

Commit: cb1ac0bb2fb95424118404160704d53a3ff2a2c0

Tree: b4d5593706a2030c025cd76be5fab12951ab2a72

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
update_cpu_features: Don't delete the output file if there are no CPU features.

At bare minimum, the compiler expects std.Target.<arch>.cpu.generic to work for
any given architecture when generating the builtin module. So rather than try to
hack that into working when the affected modules are omitted, just actually keep
them.

This affected lanai and xcore.

```

## Parents

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

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