diff --git a/BUILD b/BUILD index adea3f67..1d16011a 100644 --- a/BUILD +++ b/BUILD @@ -1,4 +1,4 @@ -load("@rules_foreign_cc//tools/build_defs:configure.bzl", "configure_make") +load("@rules_foreign_cc//foreign_cc:configure.bzl", "configure_make") # load("@rules_foreign_cc//tools/build_defs:make.bzl", "make") configure_make( diff --git a/WORKSPACE b/WORKSPACE index 4f41e44f..27cfe49e 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -18,11 +18,14 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Rule repository http_archive( name = "rules_foreign_cc", - strip_prefix = "rules_foreign_cc-master", - url = "https://github.com/bazelbuild/rules_foreign_cc/archive/master.zip", + strip_prefix = "rules_foreign_cc-main", + #url = "https://github.com/bazelbuild/rules_foreign_cc/archive/master.zip", + url = "https://github.com/bazelbuild/rules_foreign_cc/archive/main.zip", ) -load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies") +#load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies") + +load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") rules_foreign_cc_dependencies() diff --git a/rules_foreign_cc-main.zip b/rules_foreign_cc-main.zip new file mode 100644 index 00000000..073b3991 Binary files /dev/null and b/rules_foreign_cc-main.zip differ