aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYefeng Li <yefeng@emma-app.com>2025-08-25 18:07:07 +0100
committerAlex Rønne Petersen <alex@alexrp.com>2025-08-27 03:35:18 +0200
commitaae5560712fb67cea2b1405c4e2b03e9be236678 (patch)
treed0ba70e9a7281c8241639f10fbc721a2e6554a2c /src
parent42eb1329b1b9f41fe64e96c9c15afb486d0a1666 (diff)
downloadzig-aae5560712fb67cea2b1405c4e2b03e9be236678.tar.gz
zig-aae5560712fb67cea2b1405c4e2b03e9be236678.zip
Remove memcmp and memset from bundled musl and wasi
Diffstat (limited to 'src')
-rw-r--r--src/libs/musl.zig6
-rw-r--r--src/libs/wasi_libc.zig2
2 files changed, 0 insertions, 8 deletions
diff --git a/src/libs/musl.zig b/src/libs/musl.zig
index 750252aa56..32bf642262 100644
--- a/src/libs/musl.zig
+++ b/src/libs/musl.zig
@@ -1786,20 +1786,15 @@ const src_files = [_][]const u8{
"musl/src/stdlib/strtol.c",
"musl/src/stdlib/wcstod.c",
"musl/src/stdlib/wcstol.c",
- "musl/src/string/aarch64/memset.S",
- "musl/src/string/arm/__aeabi_memset.s",
"musl/src/string/bcmp.c",
"musl/src/string/bcopy.c",
"musl/src/string/explicit_bzero.c",
- "musl/src/string/i386/memset.s",
"musl/src/string/index.c",
"musl/src/string/memccpy.c",
"musl/src/string/memchr.c",
- "musl/src/string/memcmp.c",
"musl/src/string/memmem.c",
"musl/src/string/mempcpy.c",
"musl/src/string/memrchr.c",
- "musl/src/string/memset.c",
"musl/src/string/rindex.c",
"musl/src/string/stpcpy.c",
"musl/src/string/stpncpy.c",
@@ -1855,7 +1850,6 @@ const src_files = [_][]const u8{
"musl/src/string/wmemcpy.c",
"musl/src/string/wmemmove.c",
"musl/src/string/wmemset.c",
- "musl/src/string/x86_64/memset.s",
"musl/src/temp/mkdtemp.c",
"musl/src/temp/mkostemp.c",
"musl/src/temp/mkostemps.c",
diff --git a/src/libs/wasi_libc.zig b/src/libs/wasi_libc.zig
index 4af86f28f2..1c1d130a05 100644
--- a/src/libs/wasi_libc.zig
+++ b/src/libs/wasi_libc.zig
@@ -1221,9 +1221,7 @@ const libc_top_half_src_files = [_][]const u8{
"wasi/libc-top-half/musl/src/stdlib/wcstod.c",
"wasi/libc-top-half/musl/src/stdlib/wcstol.c",
"wasi/libc-top-half/musl/src/string/memchr.c",
- "wasi/libc-top-half/musl/src/string/memcmp.c",
"wasi/libc-top-half/musl/src/string/memrchr.c",
- "wasi/libc-top-half/musl/src/string/memset.c",
"wasi/libc-top-half/musl/src/string/strchrnul.c",
"wasi/libc-top-half/musl/src/thread/pthread_attr_get.c",
"wasi/libc-top-half/musl/src/thread/pthread_attr_setguardsize.c",