mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
os: Put UtimeArgs behind cfg gate
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user