blob: c138c17a1d3ead1058dfb1bffd4ed69918e2c693 [file] [log] [blame]
load("@bazel_skylib//rules:diff_test.bzl", "diff_test")
diff_test(
name = "srcs_diff_test",
failure_message = "Please run 'bazel run //crate_universe/private:srcs_module.install'",
file1 = "//crate_universe/private:srcs_module",
file2 = "//crate_universe/private:srcs.bzl",
# TODO: The diff_test here fails on Windows. As does the
# install script. This should be fixed.
target_compatible_with = select({
"@platforms//os:linux": [],
"@platforms//os:macos": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
)