From 1c6b66860e13a28b6bb6397a18fdb20e00ebb67a Mon Sep 17 00:00:00 2001 From: David Freese Date: Tue, 10 Nov 2020 16:52:34 -0800 Subject: [PATCH] Remove incorrect paren in bingen repositories I was trying to setup some testing on various versions of bazel when I kept running into this issue that causes bazel query to error out. However, the error handling is specifc to earlier 3.X series versions of bazel. Prior to this patch, this causes and error: ``` bazel-3.4.0 query -- //... - @examples//... ``` however, this does not error out: ``` bazel-3.5.0 query -- //... - @examples//... ``` which is why rules_rust tests are probably still passing. This removes the unintentional paren, which removes the issue in all 3.X cases that I tested. --- bindgen/repositories.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindgen/repositories.bzl b/bindgen/repositories.bzl index b6dbfce3e4..98c374f108 100644 --- a/bindgen/repositories.bzl +++ b/bindgen/repositories.bzl @@ -38,7 +38,7 @@ workspace(name = "{}") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -http_archive() +http_archive( name = "rules_cc", url = "https://github.com/bazelbuild/rules_cc/archive/624b5d59dfb45672d4239422fa1e3de1822ee110.zip", sha256 = "8c7e8bf24a2bf515713445199a677ee2336e1c487fa1da41037c6026de04bbc3",