os: Put UtimeArgs behind cfg gate

This commit is contained in:
Dean Li
2021-04-25 10:31:16 +08:00
parent 397392c2fd
commit 0620918a30

View File

@@ -1029,6 +1029,7 @@ mod _os {
fs::hard_link(src.path, dst.path).map_err(|err| err.into_pyexception(vm))
}
#[cfg(not(target_os = "wasi"))]
#[derive(FromArgs)]
struct UtimeArgs {
#[pyarg(any)]