diff options
| author | David <seda18@rolmail.net> | 2025-05-10 10:37:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-10 10:37:21 +0200 |
| commit | 2c241b263cf165cdde4b3b1df3ce551d915ee476 (patch) | |
| tree | 881e74dc9d0408705a082cd26c2178602c52efb6 /lib/c.zig | |
| parent | 85431e745cda668bb4559b2839834d4899141e2e (diff) | |
| download | zig-2c241b263cf165cdde4b3b1df3ce551d915ee476.tar.gz zig-2c241b263cf165cdde4b3b1df3ce551d915ee476.zip | |
Introduce common `bzero` libc implementation. (#23812)
* Introduce common `bzero` libc implementation.
* Update test name according to review
Co-authored-by: Linus Groh <mail@linusgroh.de>
* address code review
- import common implementation when musl or wasi is included
- don't use `c_builtins`, use `@memset`
* bzero calling conv to .c
* Apply review
Co-authored-by: Veikka Tuominen <git@vexu.eu>
---------
Co-authored-by: Linus Groh <mail@linusgroh.de>
Co-authored-by: Veikka Tuominen <git@vexu.eu>
Diffstat (limited to 'lib/c.zig')
| -rw-r--r-- | lib/c.zig | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ comptime { if (builtin.target.isMuslLibC() or builtin.target.isWasiLibC()) { // Files specific to musl and wasi-libc. _ = @import("c/string.zig"); + _ = @import("c/strings.zig"); } if (builtin.target.isMuslLibC()) { |
