xref: /aosp_15_r20/external/bazelbuild-rules_rust/examples/bzlmod/ffi/WORKSPACE.bzlmod (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1*d4726bddSHONG Yifan###############################################################################
2*d4726bddSHONG Yifan# Bzlmod and WORKSPACE can work side by side, which allows migrating dependencies
3*d4726bddSHONG Yifan# from the WORKSPACE file to Bzlmod to be a gradual process.
4*d4726bddSHONG Yifan# https://bazel.build/external/migration#hybrid-mode
5*d4726bddSHONG Yifan###############################################################################
6*d4726bddSHONG Yifan# rule http_archive
7*d4726bddSHONG Yifanload("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
8*d4726bddSHONG Yifan
9*d4726bddSHONG Yifan# rules_cc
10*d4726bddSHONG Yifan# https://github.com/bazelbuild/rules_cc/releases
11*d4726bddSHONG Yifanhttp_archive(
12*d4726bddSHONG Yifan    name = "rules_cc",
13*d4726bddSHONG Yifan    urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.10-rc1/rules_cc-0.0.10-rc1.tar.gz"],
14*d4726bddSHONG Yifan    sha256 = "d75a040c32954da0d308d3f2ea2ba735490f49b3a7aa3e4b40259ca4b814f825",
15*d4726bddSHONG Yifan)