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
test(runtime): assert guest-observed wasi:clocks time under a ManualClock override
Add a clock-reader fixture that reads the WASI wall clock through std on
every event and logs it, plus a harness test that pins a ManualClock,
boots the fixture under that override, dispatches a block, and asserts the
guest logged the pinned instant rather than the ambient host clock. This
proves the WasiClockOverride reaches the guest end to end, not just the
host boot path.
description = "Test fixture: on every event reads the WASI wall clock through std and logs it. Lets a test assert the guest observes a WasiClockOverride end to end."
8
+
9
+
[lib]
10
+
crate-type = ["cdylib"]
11
+
12
+
[dependencies]
13
+
wit-bindgen = { version = "0.58", default-features = false, features = ["macros", "realloc"] }
0 commit comments