1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00

add bzlmod support (#254)

This commit is contained in:
Ezekiel Warren 2023-04-26 09:16:08 -07:00 committed by GitHub
parent fc88b4936a
commit 48054f64ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 134 additions and 63 deletions

View file

@ -0,0 +1,25 @@
package(default_visibility = ["//:__subpackages__"])
platform(
name = "linux",
constraint_values = [
"@platforms//os:linux",
"@bazel_tools//tools/cpp:clang",
],
)
platform(
name = "macos",
constraint_values = [
"@platforms//os:macos",
"@bazel_tools//tools/cpp:clang",
],
)
platform(
name = "windows",
constraint_values = [
"@platforms//os:windows",
"@bazel_tools//tools/cpp:msvc",
],
)