diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-01-16 23:26:18 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-01-17 12:34:15 -0800 |
| commit | e6dc85f1b43697074eb60d3176b83a149f80894e (patch) | |
| tree | 761796b8b6945b1dca6285afced2fc2b615a36d1 /src | |
| parent | c748eb2416d067688d1f4f40af78478e7dfdc4bf (diff) | |
| download | zig-e6dc85f1b43697074eb60d3176b83a149f80894e.tar.gz zig-e6dc85f1b43697074eb60d3176b83a149f80894e.zip | |
remove memcpy and memmove from bundled libcs
These are provided instead by compiler_rt.
Part of #2879
Diffstat (limited to 'src')
| -rw-r--r-- | src/musl.zig | 9 | ||||
| -rw-r--r-- | src/wasi_libc.zig | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/musl.zig b/src/musl.zig index ace72c0b07..989fe461f5 100644 --- a/src/musl.zig +++ b/src/musl.zig @@ -1899,25 +1899,18 @@ const src_files = [_][]const u8{ "musl/src/stdlib/strtol.c", "musl/src/stdlib/wcstod.c", "musl/src/stdlib/wcstol.c", - "musl/src/string/aarch64/memcpy.S", "musl/src/string/aarch64/memset.S", - "musl/src/string/arm/__aeabi_memcpy.s", "musl/src/string/arm/__aeabi_memset.s", - "musl/src/string/arm/memcpy.S", "musl/src/string/bcmp.c", "musl/src/string/bcopy.c", "musl/src/string/bzero.c", "musl/src/string/explicit_bzero.c", - "musl/src/string/i386/memcpy.s", - "musl/src/string/i386/memmove.s", "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/memcpy.c", "musl/src/string/memmem.c", - "musl/src/string/memmove.c", "musl/src/string/mempcpy.c", "musl/src/string/memrchr.c", "musl/src/string/memset.c", @@ -1981,8 +1974,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/memcpy.s", - "musl/src/string/x86_64/memmove.s", "musl/src/string/x86_64/memset.s", "musl/src/temp/mkdtemp.c", "musl/src/temp/mkostemp.c", diff --git a/src/wasi_libc.zig b/src/wasi_libc.zig index ce6131a470..34d194a302 100644 --- a/src/wasi_libc.zig +++ b/src/wasi_libc.zig @@ -694,9 +694,7 @@ const libc_top_half_src_files = [_][]const u8{ "wasi/libc-top-half/musl/src/string/memccpy.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/memcpy.c", "wasi/libc-top-half/musl/src/string/memmem.c", - "wasi/libc-top-half/musl/src/string/memmove.c", "wasi/libc-top-half/musl/src/string/mempcpy.c", "wasi/libc-top-half/musl/src/string/memrchr.c", "wasi/libc-top-half/musl/src/string/memset.c", |
