# std.mem.zeroes use std.mem.set instead of \`@memset\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 06c08e5219f03328f483cded319c7ba75efb5188

Requested commit: 06c08e5219f03328f483cded319c7ba75efb5188

Commit: 06c08e5219f03328f483cded319c7ba75efb5188

Tree: b3bdca9b76789742bb1a577679cc60f4c78942c5

Author: Vexu

Committer: Vexu

## Message

```
std.mem.zeroes use std.mem.set instead of `@memset`

stage1 comptime is not smart enough to remeber the size of the casted
item which leads to out of bounds errors.

```

## Parents

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

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