You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use platform shims for clock ids to support wasi-libc
This change adds platform shims for clock ids so that we can use
them in Swift code because the clock id macro definitions in wasi-libc
can't be imported through ClangImporter.
Also wasi-libc's `timespec.tv_sec` and `timespec.tv_nsec` are not
imported as `Int` but as `Int64` and `Int32` respectively, so we need to
cast them to `UInt64` before doing arithmetic operations on them.
0 commit comments