浏览文件
timesync_others.go
17 行 · 305 B历史下载| 1 | // SPDX-FileCopyrightText: Copyright The Lima Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | //go:build !linux |
| 5 | |
| 6 | package timesync |
| 7 | |
| 8 | import ( |
| 9 | "errors" |
| 10 | "time" |
| 11 | ) |
| 12 | |
| 13 | var errNotSupported = errors.New("timesync: not supported on this platform") |
| 14 | |
| 15 | func SetSystemTime(_ time.Time) error { |
| 16 | return errNotSupported |
| 17 | } |

