-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMODULE.bazel
More file actions
30 lines (25 loc) · 879 Bytes
/
MODULE.bazel
File metadata and controls
30 lines (25 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module(
name = "protobuf_d",
version = "0.7.0",
)
bazel_dep(name = "bazel_skylib", version = "1.8.2")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "protobuf", version = "32.1")
bazel_dep(name = "rules_d", version = "0.9.0")
bazel_dep(name = "bazelrc-preset.bzl", version = "1.9.2", dev_dependency = True)
# Patch protobuf so its Bazel conformance_test rule is available to this module.
single_version_override(
module_name = "protobuf",
patch_strip = 1,
patches = [
"tools/ruby_compat.patch",
"tools/expose_conformance_test_rule.patch",
"tools/expose_conformance_proto.patch",
],
version = "32.1",
)
d = use_extension("@rules_d//d:extensions.bzl", "d")
d.toolchain(d_version = "dmd-2.112.0")
d.toolchain(d_version = "ldc-1.41.0")
use_repo(d, "d_toolchains")
register_toolchains("@d_toolchains//:all")