diff --git a/src/crypto/err/err_data_generate.go b/src/crypto/err/err_data_generate.go index 3e06f00bd..332b4e15a 100644 --- a/src/crypto/err/err_data_generate.go +++ b/src/crypto/err/err_data_generate.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/crypto/fipsmodule/bn/bn_test_to_fuzzer.go b/src/crypto/fipsmodule/bn/bn_test_to_fuzzer.go index 2915db5f9..1e48df350 100644 --- a/src/crypto/fipsmodule/bn/bn_test_to_fuzzer.go +++ b/src/crypto/fipsmodule/bn/bn_test_to_fuzzer.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/crypto/fipsmodule/bn/check_bn_tests.go b/src/crypto/fipsmodule/bn/check_bn_tests.go index 032b9e328..dd1def80d 100644 --- a/src/crypto/fipsmodule/bn/check_bn_tests.go +++ b/src/crypto/fipsmodule/bn/check_bn_tests.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/crypto/fipsmodule/ec/make_ec_scalar_base_mult_tests.go b/src/crypto/fipsmodule/ec/make_ec_scalar_base_mult_tests.go index 1d3896aa9..169d226ad 100644 --- a/src/crypto/fipsmodule/ec/make_ec_scalar_base_mult_tests.go +++ b/src/crypto/fipsmodule/ec/make_ec_scalar_base_mult_tests.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/crypto/fipsmodule/ec/make_p256-nistz-tests.go b/src/crypto/fipsmodule/ec/make_p256-nistz-tests.go index e10990b30..04a1a1c87 100644 --- a/src/crypto/fipsmodule/ec/make_p256-nistz-tests.go +++ b/src/crypto/fipsmodule/ec/make_p256-nistz-tests.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/crypto/fipsmodule/ec/make_tables.go b/src/crypto/fipsmodule/ec/make_tables.go index ef7ac64f3..7fb9041c6 100644 --- a/src/crypto/fipsmodule/ec/make_tables.go +++ b/src/crypto/fipsmodule/ec/make_tables.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/crypto/obj/objects.go b/src/crypto/obj/objects.go index 716adf948..1b9ded347 100644 --- a/src/crypto/obj/objects.go +++ b/src/crypto/obj/objects.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/crypto/x509/test/make_basic_constraints.go b/src/crypto/x509/test/make_basic_constraints.go index ea502b4c8..67f4b913d 100644 --- a/src/crypto/x509/test/make_basic_constraints.go +++ b/src/crypto/x509/test/make_basic_constraints.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // make_basic_constraints.go generates self-signed certificates with the basic // constraints extension. package main diff --git a/src/crypto/x509/test/make_invalid_extensions.go b/src/crypto/x509/test/make_invalid_extensions.go index 8287bf8d3..884d93355 100644 --- a/src/crypto/x509/test/make_invalid_extensions.go +++ b/src/crypto/x509/test/make_invalid_extensions.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // make_invalid_extensions.go generates a number of certificate chains with // invalid extension encodings. package main diff --git a/src/crypto/x509/test/make_many_constraints.go b/src/crypto/x509/test/make_many_constraints.go index 24a5c4071..07f2edc76 100644 --- a/src/crypto/x509/test/make_many_constraints.go +++ b/src/crypto/x509/test/make_many_constraints.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // make_many_constraints.go generates test certificates many_constraints.pem, // many_names*.pem, and some_names*.pem for x509_test.cc package main diff --git a/src/crypto/x509/test/make_policy_certs.go b/src/crypto/x509/test/make_policy_certs.go index bc944f2de..76be6a08a 100644 --- a/src/crypto/x509/test/make_policy_certs.go +++ b/src/crypto/x509/test/make_policy_certs.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // make_policy_certs.go generates certificates for testing policy handling. package main diff --git a/src/util/all_tests.go b/src/util/all_tests.go index c0dceba55..8d81463e0 100644 --- a/src/util/all_tests.go +++ b/src/util/all_tests.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/util/check_filenames.go b/src/util/check_filenames.go index 384c19f51..886c3f609 100644 --- a/src/util/check_filenames.go +++ b/src/util/check_filenames.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // check_filenames.go checks that filenames are unique. Some of our consumers do // not support multiple files with the same name in the same build target, even // if they are in different directories. diff --git a/src/util/check_imported_libraries.go b/src/util/check_imported_libraries.go index f3803f1c1..187e51441 100644 --- a/src/util/check_imported_libraries.go +++ b/src/util/check_imported_libraries.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // check_imported_libraries.go checks that each of its arguments only imports // allowed libraries. This is used to avoid accidental dependencies on // libstdc++.so. diff --git a/src/util/check_stack.go b/src/util/check_stack.go index ad763e652..b718ea4ac 100644 --- a/src/util/check_stack.go +++ b/src/util/check_stack.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // check_stack.go checks that each of its arguments has a non-executable stack. // See https://www.airs.com/blog/archives/518 for details. package main diff --git a/src/util/compare_benchmarks.go b/src/util/compare_benchmarks.go index 05e1b5db0..d631f832b 100644 --- a/src/util/compare_benchmarks.go +++ b/src/util/compare_benchmarks.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // compare_benchmarks takes the JSON-formatted output of bssl speed and // compares it against a baseline output. package main diff --git a/src/util/convert_comments.go b/src/util/convert_comments.go index df9e3d3ae..917f29c86 100644 --- a/src/util/convert_comments.go +++ b/src/util/convert_comments.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/util/convert_wycheproof.go b/src/util/convert_wycheproof.go index 809da6f51..a7dfc8180 100644 --- a/src/util/convert_wycheproof.go +++ b/src/util/convert_wycheproof.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // convert_wycheproof.go converts Wycheproof test vectors into a format more // easily consumed by BoringSSL. package main diff --git a/src/util/diff_asm.go b/src/util/diff_asm.go index 5ac1c04bb..27c0aa20a 100644 --- a/src/util/diff_asm.go +++ b/src/util/diff_asm.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/util/doc.go b/src/util/doc.go index 4fb73ca0d..e7f1b5911 100644 --- a/src/util/doc.go +++ b/src/util/doc.go @@ -1,5 +1,3 @@ -//go:build ignore - // doc generates HTML files from the comments in header files. // // doc expects to be given the path to a JSON file via the --config option. diff --git a/src/util/embed_test_data.go b/src/util/embed_test_data.go index ae7135fae..0a0d1e3f1 100644 --- a/src/util/embed_test_data.go +++ b/src/util/embed_test_data.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // embed_test_data generates a C++ source file which exports a function, // GetTestData, which looks up the specified data files. package main diff --git a/src/util/fetch_ech_config_list.go b/src/util/fetch_ech_config_list.go index 732d0d3b8..8f09e66b1 100644 --- a/src/util/fetch_ech_config_list.go +++ b/src/util/fetch_ech_config_list.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/util/fipstools/acvp/acvptool/test/check_expected.go b/src/util/fipstools/acvp/acvptool/test/check_expected.go index 588b8038b..ccc803850 100644 --- a/src/util/fipstools/acvp/acvptool/test/check_expected.go +++ b/src/util/fipstools/acvp/acvptool/test/check_expected.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/util/fipstools/acvp/acvptool/test/trim_vectors.go b/src/util/fipstools/acvp/acvptool/test/trim_vectors.go index 703f75fd2..53e970e02 100644 --- a/src/util/fipstools/acvp/acvptool/test/trim_vectors.go +++ b/src/util/fipstools/acvp/acvptool/test/trim_vectors.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // trimvectors takes an ACVP vector set file and discards all but a single test // from each test group. This hope is that this achieves good coverage without // having to check in megabytes worth of JSON files. diff --git a/src/util/fipstools/break-hash.go b/src/util/fipstools/break-hash.go index a4ab8083d..e37da7525 100644 --- a/src/util/fipstools/break-hash.go +++ b/src/util/fipstools/break-hash.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // break-hash parses an ELF binary containing the FIPS module and corrupts the // first byte of the module. This should cause the integrity check to fail. package main diff --git a/src/util/fipstools/break-kat.go b/src/util/fipstools/break-kat.go index ebf5dd703..6eace5b46 100644 --- a/src/util/fipstools/break-kat.go +++ b/src/util/fipstools/break-kat.go @@ -1,5 +1,3 @@ -//go:build - // break-kat corrupts a known-answer-test input in a binary and writes the // corrupted binary to stdout. This is used to demonstrate that the KATs in the // binary notice the error. diff --git a/src/util/godeps.go b/src/util/godeps.go index 56be55944..960faa46b 100644 --- a/src/util/godeps.go +++ b/src/util/godeps.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // godeps prints out dependencies of a package in either CMake or Make depfile // format, for incremental rebuilds. // diff --git a/src/util/make_errors.go b/src/util/make_errors.go index 018845258..4e2718b8d 100644 --- a/src/util/make_errors.go +++ b/src/util/make_errors.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import ( diff --git a/src/util/make_prefix_headers.go b/src/util/make_prefix_headers.go index 8787654b5..b39e4ec7c 100644 --- a/src/util/make_prefix_headers.go +++ b/src/util/make_prefix_headers.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // This program takes a file containing newline-separated symbols, and generates // boringssl_prefix_symbols.h, boringssl_prefix_symbols_asm.h, and // boringssl_prefix_symbols_nasm.inc. These header files can be used to build diff --git a/src/util/read_symbols.go b/src/util/read_symbols.go index 69d000282..96c148ab5 100644 --- a/src/util/read_symbols.go +++ b/src/util/read_symbols.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - // read_symbols scans one or more .a files and, for each object contained in // the .a files, reads the list of symbols in that object file. package main diff --git a/src/util/run_android_tests.go b/src/util/run_android_tests.go index 59ddbe75a..51b20172a 100644 --- a/src/util/run_android_tests.go +++ b/src/util/run_android_tests.go @@ -12,8 +12,6 @@ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -//go:build ignore - package main import (