Skip to content

Commit fd27077

Browse files
committed
time._STRUCT_TM_ITEMS
1 parent b99e7f6 commit fd27077

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vm/src/stdlib/time.rs

+3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ mod decl {
7272
.map_err(|e| vm.new_value_error(format!("Time error: {e:?}")))
7373
}
7474

75+
#[pyattr]
76+
pub const _STRUCT_TM_ITEMS: usize = 11;
77+
7578
// TODO: implement proper monotonic time for wasm/wasi.
7679
#[cfg(not(any(unix, windows)))]
7780
fn get_monotonic_time(vm: &VirtualMachine) -> PyResult<Duration> {

0 commit comments

Comments
 (0)