blob: 5a057cf311fa766f25e66eb69785c9c283557557 [file]
--- a/absl/random/internal/BUILD.bazel
+++ b/absl/random/internal/BUILD.bazel
@@ -415,6 +415,9 @@
"@rules_cc//cc/compiler:clang-cl": [],
"//conditions:default": ["-Wno-pass-failed"],
}),
+ # Header modules cannot be shared between compilations with different target
+ # features.
+ features = ["-use_header_modules"],
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":platform",