Skip to content

Commit

Permalink
Disable layering_check feature in CGo tests (#3829)
Browse files Browse the repository at this point in the history
`go_*` rules do not emit the module map files required for
`layering_check`.
  • Loading branch information
fmeum authored Jan 15, 2024
1 parent e2f0ae6 commit 31549c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/core/cgo/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
load("@io_bazel_rules_go//go/tools/bazel_testing:def.bzl", "go_bazel_test")

package(
# go_* rules do not emit module maps.
features = ["-layering_check"],
)

go_test(
name = "opts_test",
srcs = ["adder_test.go"],
Expand Down

0 comments on commit 31549c1

Please sign in to comment.