Skip to content

Commit da42a30

Browse files
committed
driver: fail to build on Windows with go < 1.13
The next commit requires go 1.13 for Windows, so let's guard against building this package with earlier golang releases. Note that since go 1.14 is out, go 1.12 is no longer supported. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent d7961f4 commit da42a30

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

driver/driver_windows.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
limitations under the License.
1515
*/
1616

17+
// +build go1.13
18+
19+
// Go 1.13 is the minimally supported version for Windows.
20+
// Earlier golang releases have bug in os.Readlink
21+
// (see https://github.com/golang/go/issues/30463).
22+
1723
package driver
1824

1925
import (

0 commit comments

Comments
 (0)