File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/cmd/cgo/internal/testsanitizers Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ package sanitizers_test
8
8
9
9
import (
10
10
"bytes"
11
+ "crypto/fips140"
11
12
"fmt"
12
13
"internal/platform"
13
14
"internal/testenv"
@@ -157,6 +158,10 @@ func mustHaveASAN(t *testing.T) *config {
157
158
t .Skipf ("skipping on %s/%s; -asan option is not supported." , goos , goarch )
158
159
}
159
160
161
+ if fips140 .Enabled () {
162
+ t .Skipf ("skipping with FIPS 140 mode; -asan option is not supported." )
163
+ }
164
+
160
165
// The current implementation is only compatible with the ASan library from version
161
166
// v7 to v9 (See the description in src/runtime/asan/asan.go). Therefore, using the
162
167
// -asan option must use a compatible version of ASan library, which requires that
You can’t perform that action at this time.
0 commit comments