Skip to content

Add Fuchsia to actually_monotonic #64196

Closed
@joshlf

Description

@joshlf

std's internal actually_monotonic function is used to determine which platforms' clocks are truly monotonic. Those that aren't (that have been observed to sometimes go backwards in practice) require more expensive machinery to ensure monotonicity of the Instant type on those platforms.

Fuchsia provides a truly monotonic clock, so we should add it to the list of platforms for which actually_monotonic returns true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions