| # Override http_archive for local testing |
| local_repository( |
| name = "rules_probe_rs", |
| path = "../..", |
| ) |
| |
| #---SNIP--- Below here is re-used in the workspace snippet published on releases |
| |
| ###################### |
| # rules_probe_rs setup # |
| ###################### |
| # Fetches the rules_probe_rs dependencies. |
| # If you want to have a different version of some dependency, |
| # you should fetch it *before* calling this. |
| # Alternatively, you can skip calling this function, so long as you've |
| # already fetched all the dependencies. |
| |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| http_archive( |
| name = "bazel_skylib", |
| sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz", |
| "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz", |
| ], |
| ) |
| |
| load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") |
| |
| bazel_skylib_workspace() |
| |
| load("@rules_probe_rs//probe_rs:repositories.bzl", "probe_rs_dependencies") |
| |
| probe_rs_dependencies() |