# compiler_rt: Move mem implementations from c.zig · gitcafe/zig

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

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

Visibility: public

Requested revision: f5edaa96dd7c820ffb7c5b8fc8da849a620d69b1

Requested commit: f5edaa96dd7c820ffb7c5b8fc8da849a620d69b1

Commit: f5edaa96dd7c820ffb7c5b8fc8da849a620d69b1

Tree: 92f3bbfab91e1f1d288bc66fc6b5af6d83a16a6b

Author: Luuk de Gram

Committer: Andrew Kelley

## Message

```
compiler_rt: Move mem implementations from c.zig

This moves functions that LLVM generates calls to,
to the compiler_rt implementation itself, rather than c.zig.
This is a prerequisite for native backends to link with compiler-rt.
This also allows native backends to generate calls to `memcpy` and the like.

```

## Parents

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

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