use go:debug to enable fips140=only

This is safer because it doesn't clober other defaults that are set by
Go or the environment.
This commit is contained in:
Wade Simmons
2026-07-08 10:41:24 -04:00
parent 14c9288127
commit 6675f5a361
4 changed files with 15 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
//go:build fips140enforce
//go:debug fips140=only
package main
+5
View File
@@ -0,0 +1,5 @@
//go:build fips140enforce
//go:debug fips140=only
package main
+5
View File
@@ -0,0 +1,5 @@
//go:build fips140enforce
//go:debug fips140=only
package main