github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/runtime/time_fake.go (about)

     1  // Copyright 2019 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build faketime && !windows
     6  
     7  // Faketime isn't currently supported on Windows. This would require
     8  // modifying syscall.Write to call syscall.faketimeWrite,
     9  // translating the Stdout and Stderr handles into FDs 1 and 2.
    10  // (See CL 192739 PS 3.)
    11  
    12  package runtime