# std.crypto: SHA-256 Properly gate comptime conditional · gitcafe/zig

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

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

Visibility: public

Requested revision: ee241c47ee675050e4e4b0eabd6ba06a82cc626e

Requested commit: ee241c47ee675050e4e4b0eabd6ba06a82cc626e

Commit: ee241c47ee675050e4e4b0eabd6ba06a82cc626e

Tree: c1816dfba1f95da52f39188a292f210998407e9e

Author: Cody Tapscott

Committer: Cody Tapscott

## Message

```
std.crypto: SHA-256 Properly gate comptime conditional

This feature detection must be done at comptime so that we avoid
generating invalid ASM for the target.

```

## Parents

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

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