Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apple/dtrace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ dtrace_compile = rule(
doc = "dtrace(.d) source files to be compiled.",
),
}),
exec_compatible_with = [
"@platforms//os:macos",
],
fragments = ["apple"],
doc = """
Compiles
Expand Down
3 changes: 3 additions & 0 deletions apple/internal/rule_factory.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ def _create_apple_rule(
),
cfg = cfg,
doc = doc,
exec_compatible_with = [
"@platforms//os:macos",
],
executable = is_executable,
fragments = ["apple", "cpp", "objc", "j2objc"],
toolchains = toolchains,
Expand Down
3 changes: 3 additions & 0 deletions apple/internal/testing/build_test_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ number (for example, `"9.0"`).
),
},
doc = doc,
exec_compatible_with = [
"@platforms//os:macos",
],
implementation = _apple_build_test_rule_impl,
test = True,
cfg = transition_support.apple_rule_transition,
Expand Down