From 3a17a3372b0d140928fc2721fc7ab38645fdf81b Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 20 Jun 2023 15:23:56 +0200 Subject: Added realpath to wasix build --- Makefile | 1 + expected/wasm32-wasi/defined-symbols.txt | 1 + expected/wasm64-wasi/defined-symbols.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/Makefile b/Makefile index be0ede9..6cc9bbd 100644 --- a/Makefile +++ b/Makefile @@ -97,6 +97,7 @@ LIBC_TOP_HALF_MUSL_SOURCES = \ misc/getrusage.c \ misc/uname.c \ misc/nftw.c \ + misc/realpath.c \ misc/syslog.c \ errno/strerror.c \ \ diff --git a/expected/wasm32-wasi/defined-symbols.txt b/expected/wasm32-wasi/defined-symbols.txt index 0f3c940..b8f723a 100644 --- a/expected/wasm32-wasi/defined-symbols.txt +++ b/expected/wasm32-wasi/defined-symbols.txt @@ -1397,6 +1397,7 @@ readlinkat readv realloc reallocarray +realpath recv recvfrom recvmsg diff --git a/expected/wasm64-wasi/defined-symbols.txt b/expected/wasm64-wasi/defined-symbols.txt index 0f3c940..b8f723a 100644 --- a/expected/wasm64-wasi/defined-symbols.txt +++ b/expected/wasm64-wasi/defined-symbols.txt @@ -1397,6 +1397,7 @@ readlinkat readv realloc reallocarray +realpath recv recvfrom recvmsg -- cgit v1.2.3 From dd4e145f59ec6144db7d16e29cac82f9d616deb0 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 20 Jun 2023 15:41:19 +0200 Subject: Added tzset to time header as it's already part of the build --- libc-top-half/musl/include/time.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/libc-top-half/musl/include/time.h b/libc-top-half/musl/include/time.h index e99a0b3..a8a4071 100644 --- a/libc-top-half/musl/include/time.h +++ b/libc-top-half/musl/include/time.h @@ -97,9 +97,7 @@ struct tm *localtime_r (const time_t *__restrict, struct tm *__restrict); char *asctime_r (const struct tm *__restrict, char *__restrict); char *ctime_r (const time_t *, char *); -#ifdef __wasilibc_unmodified_upstream /* WASI has no timezone tables */ void tzset (void); -#endif struct itimerspec { struct timespec it_interval; -- cgit v1.2.3