| ############################################################################### | |
| # Bzlmod and WORKSPACE can work side by side, which allows migrating dependencies | |
| # from the WORKSPACE file to Bzlmod to be a gradual process. | |
| # https://bazel.build/external/migration#hybrid-mode | |
| ############################################################################### | |
| # rule http_archive | |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | |
| # rules_cc | |
| # https://github.com/bazelbuild/rules_cc/releases | |
| http_archive( | |
| name = "rules_cc", | |
| sha256 = "d75a040c32954da0d308d3f2ea2ba735490f49b3a7aa3e4b40259ca4b814f825", | |
| urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.10-rc1/rules_cc-0.0.10-rc1.tar.gz"], | |
| ) |