(clk_id: ClockId, timespec: TimeSpec, vm: &VirtualMachine)
| 1204 | #[cfg(not(target_os = "redox"))] |
| 1205 | #[cfg(not(target_vendor = "apple"))] |
| 1206 | fn set_clock_time(clk_id: ClockId, timespec: TimeSpec, vm: &VirtualMachine) -> PyResult<()> { |
| 1207 | nix::time::clock_settime(clk_id, timespec).map_err(|e| e.into_pyexception(vm)) |
| 1208 | } |
| 1209 | |
| 1210 | #[cfg(not(target_os = "redox"))] |
| 1211 | #[cfg(target_os = "macos")] |
no test coverage detected