Skip to content
bazel-contribPublic

Latest commit

 

History

282 Commits

Folders and files

Repository files navigation

Bazel Rules for the D Programming Language

rules_d provides Bazel rules and toolchains for building D libraries, binaries, tests, protocol buffers, and projects that depend on DUB packages.

Documentation

Tutorials

Installation

rules_d requires Bzlmod and Bazel 7.2.1 or later. Add rules_d to your MODULE.bazel:

bazel_dep(name = "rules_d", version = "<version>")

Then configure a D toolchain:

d = use_extension("@rules_d//d:extensions.bzl", "d")
d.toolchain(d_version = "dmd-2.112.0")
use_repo(d, "d_toolchains")

register_toolchains("@d_toolchains//:all")

Use the latest published version from the Bazel Central Registry.

Releases

Sponsor this project

Packages

Used by

Contributors

Languages