Standard library / std::runtime::time

std::runtime::time

Source: std/runtime/time.slk

This is the exact canonical documentation page for std::runtime::time.

Role#

std::runtime::time is an implementation-facing runtime module in the shipped std/** tree. It exists so higher-level stdlib surfaces can delegate platform or runtime-specific behavior without changing their public module names.

Canonical Context#

Use the following owning docs for the substantive API/design context for this module:

Notes#

  • The shipped source for this module is std/runtime/time.slk.
  • The canonical module name is std::runtime::time.
  • On wasm32-wasi, the shipped implementation rewrites its delegated backend imports to std::runtime::wasi::time so higher-level modules such as std::temporal keep the same public contract across hosted and WASI targets.
  • This page is intentionally implementation-oriented. Downstream users should usually start with the higher-level std module docs listed above unless they are working on the runtime layer itself.

Source repository · Edit this page · View Markdown