# improve the libc of wasm32-freestanding target · gitcafe/zig

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

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

Visibility: public

Requested revision: 01a4897da54d6c789b0a5232188bbafbbd660946

Requested commit: 01a4897da54d6c789b0a5232188bbafbbd660946

Commit: 01a4897da54d6c789b0a5232188bbafbbd660946

Tree: 274bf44d509e19f832a1f5b8ab7048ce5ba64e66

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
improve the libc of wasm32-freestanding target

 * introduce wasm32-freestanding-musl .h files to fix
   conflicts with stddef.h and errno.h
 * fix an issue with zig build system regarding installation of
   webassembly libraries
 * add implementations to zig's libc:
   - strcmp
   - strncmp
   - strerror
   - strlen

See #514

```

## Parents

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

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