RReverser opened PR #6007 from wasi-clocks
to main
:
Takes the approach described in #6004, but also creates a wrapper for the monotonic time that encapsulates the
creation_time
field as well, since they logically belong and are always used together.This makes it easier to configure
WasiCtx
with custom clocks as well as disable them for security or determinism reasons.Closes #6004.
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
pchickey requested pchickey for a review on PR #6007.
RReverser updated PR #6007 from wasi-clocks
to main
.
RReverser updated PR #6007 from wasi-clocks
to main
.
pchickey submitted PR review.
pchickey merged PR #6007.
Last updated: Nov 22 2024 at 17:03 UTC