Skip to content

Commit

Permalink
Add qnx and osx platforms (#4036)
Browse files Browse the repository at this point in the history
**What type of PR is this?**

Bug fix

**What does this PR do? Why is it needed?**

**Which issues(s) does this PR fix?**

**Other notes for review**

This change was requested in
bazel-contrib/bazel-gazelle#1735 (comment)
  • Loading branch information
hofbi authored Aug 13, 2024
1 parent 9fb3198 commit 9d1456e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions go/private/platforms.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ BAZEL_GOOS_CONSTRAINTS = {
"freebsd": "@platforms//os:freebsd",
"ios": "@platforms//os:ios",
"linux": "@platforms//os:linux",
"qnx": "@platforms//os:qnx",
"windows": "@platforms//os:windows",
}

Expand Down Expand Up @@ -77,6 +78,14 @@ GOOS_GOARCH = (
("openbsd", "amd64"),
("openbsd", "arm"),
("openbsd", "arm64"),
("osx", "386"),
("osx", "amd64"),
("osx", "arm"),
("osx", "arm64"),
("qnx", "386"),
("qnx", "amd64"),
("qnx", "arm"),
("qnx", "arm64"),
("plan9", "386"),
("plan9", "amd64"),
("plan9", "arm"),
Expand Down

0 comments on commit 9d1456e

Please sign in to comment.