Skip to content

Releases: jsharpe/rules_foreign_cc

Testing release tarball

14 Oct 13:28
e84c501
Compare
Choose a tag to compare
Pre-release

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_foreign_cc", version = "0.10.0")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_foreign_cc",
    sha256 = "6d44f0c61a6666bb03fb92ce732f6219daedeab8da21bffa3aa198e5bba9bf0b",
    strip_prefix = "rules_foreign_cc-0.10.0",
    url = "https://github.com/bazelbuild/rules_foreign_cc/releases/download/v0.10.0/rules_foreign_cc-v0.10.0.tar.gz",
)