Implement wasi clock_time/clock_res get (#2637)
Add os_clock_res_get and os_clock_time_get in platform_api_extension.h, and implement them in posix like platforms and windows platform.
This commit is contained in:
@ -36,6 +36,8 @@ endif()
|
||||
|
||||
file (GLOB source_all_untrusted ${PLATFORM_SHARED_DIR}/untrusted/*.c)
|
||||
|
||||
list(APPEND source_all ${PLATFORM_SHARED_DIR}/../common/posix/posix_clock.c)
|
||||
|
||||
set (PLATFORM_SHARED_SOURCE ${source_all})
|
||||
|
||||
set (PLATFORM_SHARED_SOURCE_UNTRUSTED ${source_all_untrusted})
|
||||
|
||||
Reference in New Issue
Block a user