Documentation

Overview

Package osx_clock_gettime_fix, when linked into a binary, replaces references to clock_gettime with a reference to a shim over gettimeofday.

clock_gettime is absent on OSX 10.11 and earlier, but >=go1.16 links to it. This hack allows to run binaries compiled with go1.16 on OSX 10.11.

Source Files