Skip to content

Commit 7e03a6c

Browse files
committed
Go: Add missing +build and go:build comments
A RHEL 8 test was failing because it uses go1.16. The old style must be retained for backwards compat. Fixes: 9a36de8 ("Go: Use Homebrew include paths") Reviewed-by: Andrew Clayton <[email protected]> Reviewed-by: Dylan Arbour <[email protected]> Signed-off-by: Danielle De Leo <[email protected]>
1 parent 263460d commit 7e03a6c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

go/ldflags-darwin.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build darwin
2+
// +build darwin
23

34
/*
45
* Copyright (C) Danielle De Leo

go/ldflags-lrt.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build linux || netbsd
12
// +build linux netbsd
23

34
/*

0 commit comments

Comments
 (0)