Skip to content

Commit b88e25f

Browse files
committed
add cfg for not wasmbind for time
1 parent 578f206 commit b88e25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/stdlib/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ mod time {
8484
_time(vm)
8585
}
8686

87-
#[cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))]
87+
#[cfg(any(not(target_arch = "wasm32"), target_os = "wasi", not(feature = "wasmbind")))]
8888
fn _time(vm: &VirtualMachine) -> PyResult<f64> {
8989
Ok(duration_since_system_now(vm)?.as_secs_f64())
9090
}

0 commit comments

Comments
 (0)