Skip to content

Commit 4819be0

Browse files
committed
Faster mem{cpy,set}
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
1 parent 982c0b8 commit 4819be0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/hyperlight_libc/build_files.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,11 +467,13 @@ pub(crate) const LIBC_FILES: &[&str] = &[
467467
"string/gnu_basename.c",
468468
"string/index.c",
469469
"string/memccpy.c",
470+
"string/memcpy.c",
470471
"string/memcpy_s.c",
471472
"string/memmem.c",
472473
"string/memmove_s.c",
473474
"string/mempcpy.c",
474475
"string/memrchr.c",
476+
"string/memset.c",
475477
"string/memset_explicit.c",
476478
"string/memset_s.c",
477479
"string/rawmemchr.c",
@@ -646,10 +648,8 @@ pub(crate) const LIBC_FILES_X86: &[&str] = &[
646648
"machine/x86/memchr.c",
647649
"machine/x86/memcmp.S",
648650
"machine/x86/memcmp.c",
649-
"machine/x86/memcpy.S",
650651
"machine/x86/memmove.S",
651652
"machine/x86/memmove.c",
652-
"machine/x86/memset.S",
653653
"machine/x86/setjmp.S",
654654
"machine/x86/strchr.S",
655655
"machine/x86/strchr.c",

0 commit comments

Comments
 (0)