diff --git a/libc/config/gpu/entrypoints.txt b/libc/config/gpu/entrypoints.txt --- a/libc/config/gpu/entrypoints.txt +++ b/libc/config/gpu/entrypoints.txt @@ -57,6 +57,11 @@ # stdlib.h entrypoints libc.src.stdlib.atoi + # Only implemented in the test suite + libc.src.stdlib.malloc + libc.src.stdlib.realloc + libc.src.stdlib.free + # errno.h entrypoints libc.src.errno.errno ) diff --git a/libc/test/CMakeLists.txt b/libc/test/CMakeLists.txt --- a/libc/test/CMakeLists.txt +++ b/libc/test/CMakeLists.txt @@ -6,9 +6,7 @@ add_custom_target(exhaustive-check-libc) add_custom_target(libc-long-running-tests) -if(NOT LIBC_TARGET_ARCHITECTURE_IS_GPU) - add_subdirectory(UnitTest) -endif() +add_subdirectory(UnitTest) add_header_library( errno_setter_matcher