generated from bazel-contrib/rules-template
-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try transitioning and avoiding default target config
- Loading branch information
1 parent
02912ea
commit e284a97
Showing
4 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
config_setting( | ||
name = "linux_x86_64", | ||
constraint_values = [ | ||
"@platforms//cpu:x86_64", | ||
"@platforms//os:linux", | ||
], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
config_setting( | ||
name = "linux_aarch64", | ||
constraint_values = [ | ||
"@platforms//cpu:arm64", | ||
"@platforms//os:linux", | ||
], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
config_setting( | ||
name = "macos_x86_64", | ||
constraint_values = [ | ||
"@platforms//cpu:x86_64", | ||
"@platforms//os:macos", | ||
], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
config_setting( | ||
name = "macos_aarch64", | ||
constraint_values = [ | ||
"@platforms//cpu:arm64", | ||
"@platforms//os:macos", | ||
], | ||
visibility = ["//visibility:public"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters