diff --git a/cmd/ractool/gen.go b/cmd/ractool/gen.go index ba8ae205..6aa7fc34 100644 --- a/cmd/ractool/gen.go +++ b/cmd/ractool/gen.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/internal/cgen/data/gen.go b/internal/cgen/data/gen.go index 36bd6e07..f11743ea 100644 --- a/internal/cgen/data/gen.go +++ b/internal/cgen/data/gen.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/lang/builtin/gen.go b/lang/builtin/gen.go index 81d5e126..1fb28180 100644 --- a/lang/builtin/gen.go +++ b/lang/builtin/gen.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/lang/check/gen.go b/lang/check/gen.go index 275d96ae..f1a14500 100644 --- a/lang/check/gen.go +++ b/lang/check/gen.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/lib/armneonintrinsics/gen.go b/lib/armneonintrinsics/gen.go index 331ddfb2..e214ca08 100644 --- a/lib/armneonintrinsics/gen.go +++ b/lib/armneonintrinsics/gen.go @@ -14,6 +14,7 @@ // ---------------- +//go:build ignore // +build ignore package main diff --git a/lib/cgolz4/notcgo.go b/lib/cgolz4/notcgo.go index 1431e923..09c20064 100644 --- a/lib/cgolz4/notcgo.go +++ b/lib/cgolz4/notcgo.go @@ -14,6 +14,7 @@ // ---------------- +//go:build !cgo // +build !cgo package cgolz4 diff --git a/lib/cgozlib/notcgo.go b/lib/cgozlib/notcgo.go index b9b687c3..e4b86ffe 100644 --- a/lib/cgozlib/notcgo.go +++ b/lib/cgozlib/notcgo.go @@ -14,6 +14,7 @@ // ---------------- +//go:build !cgo // +build !cgo package cgozlib diff --git a/lib/cgozstd/notcgo.go b/lib/cgozstd/notcgo.go index 769ca0d2..01ef6705 100644 --- a/lib/cgozstd/notcgo.go +++ b/lib/cgozstd/notcgo.go @@ -14,6 +14,7 @@ // ---------------- +//go:build !cgo // +build !cgo package cgozstd diff --git a/lib/raczlib/make_cgo.go b/lib/raczlib/make_cgo.go index e908147e..ce17a829 100644 --- a/lib/raczlib/make_cgo.go +++ b/lib/raczlib/make_cgo.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build cgo // +build cgo package raczlib diff --git a/lib/raczlib/make_notcgo.go b/lib/raczlib/make_notcgo.go index d4eaa5a3..08e8bcbf 100644 --- a/lib/raczlib/make_notcgo.go +++ b/lib/raczlib/make_notcgo.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build !cgo // +build !cgo package raczlib diff --git a/script/base38-encode.go b/script/base38-encode.go index f2501292..29a999d4 100644 --- a/script/base38-encode.go +++ b/script/base38-encode.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/bench-go-deflate/main.go b/script/bench-go-deflate/main.go index 74e8f998..d7bdb240 100644 --- a/script/bench-go-deflate/main.go +++ b/script/bench-go-deflate/main.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/bench-go-gif/main.go b/script/bench-go-gif/main.go index 86c6c076..6b362202 100644 --- a/script/bench-go-gif/main.go +++ b/script/bench-go-gif/main.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/bench-go-png/main.go b/script/bench-go-png/main.go index 930a9458..fb47fb46 100644 --- a/script/bench-go-png/main.go +++ b/script/bench-go-png/main.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/benchstat-ratio.go b/script/benchstat-ratio.go index 0925b44f..3f6498ee 100644 --- a/script/benchstat-ratio.go +++ b/script/benchstat-ratio.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/checksum.go b/script/checksum.go index 93a97600..c58b44a2 100644 --- a/script/checksum.go +++ b/script/checksum.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/compress-giflzw.go b/script/compress-giflzw.go index b1e41d92..9427381b 100644 --- a/script/compress-giflzw.go +++ b/script/compress-giflzw.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/convert-png-to-wbmp.go b/script/convert-png-to-wbmp.go index 04305dd2..feeb126f 100644 --- a/script/convert-png-to-wbmp.go +++ b/script/convert-png-to-wbmp.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/crawl.go b/script/crawl.go index d82dc34c..0c8e0b7e 100644 --- a/script/crawl.go +++ b/script/crawl.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/draw-with-mask.go b/script/draw-with-mask.go index ffcac8b0..dfff8b6a 100644 --- a/script/draw-with-mask.go +++ b/script/draw-with-mask.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/extract-cbor-rfc-7049-examples.go b/script/extract-cbor-rfc-7049-examples.go index be10da22..569a6422 100644 --- a/script/extract-cbor-rfc-7049-examples.go +++ b/script/extract-cbor-rfc-7049-examples.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/extract-deflate-offsets.go b/script/extract-deflate-offsets.go index 3215d1fa..abeb8dcb 100644 --- a/script/extract-deflate-offsets.go +++ b/script/extract-deflate-offsets.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/extract-giflzw.go b/script/extract-giflzw.go index 1f64c354..69885d8f 100644 --- a/script/extract-giflzw.go +++ b/script/extract-giflzw.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/extract-palette-indexes.go b/script/extract-palette-indexes.go index 33061441..11d1d489 100644 --- a/script/extract-palette-indexes.go +++ b/script/extract-palette-indexes.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/inline-c-relative-includes.go b/script/inline-c-relative-includes.go index 3477e94d..8c700e2f 100644 --- a/script/inline-c-relative-includes.go +++ b/script/inline-c-relative-includes.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/make-artificial.go b/script/make-artificial.go index 7ebfb132..5f4a047e 100644 --- a/script/make-artificial.go +++ b/script/make-artificial.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/preprocess-wuffs.go b/script/preprocess-wuffs.go index 855a4718..32657e2e 100644 --- a/script/preprocess-wuffs.go +++ b/script/preprocess-wuffs.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore // Deprecated: unused as of commit 695a6815 "Remove gif.config_decoder". diff --git a/script/print-bits.go b/script/print-bits.go index cc886b1d..9f27696b 100644 --- a/script/print-bits.go +++ b/script/print-bits.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-byte-frequencies.go b/script/print-byte-frequencies.go index 7cb5ff69..c9df7695 100644 --- a/script/print-byte-frequencies.go +++ b/script/print-byte-frequencies.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-crc32-example.go b/script/print-crc32-example.go index 7c090f4b..e3308494 100644 --- a/script/print-crc32-example.go +++ b/script/print-crc32-example.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-crc32-magic-numbers.go b/script/print-crc32-magic-numbers.go index 37868fac..740b62e8 100644 --- a/script/print-crc32-magic-numbers.go +++ b/script/print-crc32-magic-numbers.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-crc32-x86-sse42-magic-numbers.go b/script/print-crc32-x86-sse42-magic-numbers.go index 0e02b68f..b54b81ad 100644 --- a/script/print-crc32-x86-sse42-magic-numbers.go +++ b/script/print-crc32-x86-sse42-magic-numbers.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-deflate-huff-table-size.go b/script/print-deflate-huff-table-size.go index 90e6c6b9..32cbe27f 100644 --- a/script/print-deflate-huff-table-size.go +++ b/script/print-deflate-huff-table-size.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-deflate-magic-numbers.go b/script/print-deflate-magic-numbers.go index 042fd4fc..61730a42 100644 --- a/script/print-deflate-magic-numbers.go +++ b/script/print-deflate-magic-numbers.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-file-sizes-json.go b/script/print-file-sizes-json.go index 89e3c7b3..b527c37b 100644 --- a/script/print-file-sizes-json.go +++ b/script/print-file-sizes-json.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-hpd-left-shift.go b/script/print-hpd-left-shift.go index 09b175af..5f95651a 100644 --- a/script/print-hpd-left-shift.go +++ b/script/print-hpd-left-shift.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-json-ascii-escapes.go b/script/print-json-ascii-escapes.go index 40ed2a88..1a30bd19 100644 --- a/script/print-json-ascii-escapes.go +++ b/script/print-json-ascii-escapes.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-lzw-example.go b/script/print-lzw-example.go index 0d588eec..6001e948 100644 --- a/script/print-lzw-example.go +++ b/script/print-lzw-example.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-mpb-powers-of-10.go b/script/print-mpb-powers-of-10.go index fece9bb2..ac3a7d45 100644 --- a/script/print-mpb-powers-of-10.go +++ b/script/print-mpb-powers-of-10.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/print-render-number-f64-tests.go b/script/print-render-number-f64-tests.go index 790a9a75..c3ec88de 100644 --- a/script/print-render-number-f64-tests.go +++ b/script/print-render-number-f64-tests.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/rac-random-seek-test.go b/script/rac-random-seek-test.go index c5696e5c..08d1d055 100644 --- a/script/rac-random-seek-test.go +++ b/script/rac-random-seek-test.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main diff --git a/script/strip-png-ancillary-chunks.go b/script/strip-png-ancillary-chunks.go index 2ddb53e3..747e5e18 100644 --- a/script/strip-png-ancillary-chunks.go +++ b/script/strip-png-ancillary-chunks.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build ignore // +build ignore package main