summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCopybara-Service <copybara-worker@google.com>2020-02-21 11:14:05 -0800
committerCopybara-Service <copybara-worker@google.com>2020-02-21 11:14:05 -0800
commitd8e60e786715737eba737b85bd21cd713a42ed0a (patch)
treeeea1d41b255085ce1793d132ceba36f83ced9280
parent97c07242c37e56f6cfdc52036d554052ba95f2ae (diff)
parent5d711c329a7973dae37b654528949d62a131319a (diff)
Merge pull request #1911 from xiaobo55x:x_sys
PiperOrigin-RevId: 296472477
-rw-r--r--WORKSPACE21
1 files changed, 14 insertions, 7 deletions
diff --git a/WORKSPACE b/WORKSPACE
index ff0196dc6..a15238a2e 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -33,6 +33,20 @@ load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
gazelle_dependencies()
+# TODO(gvisor.dev/issue/1876): Move the statement to "External repositories"
+# block below once 1876 is fixed.
+#
+# The com_google_protobuf repository below would trigger downloading a older
+# version of org_golang_x_sys. If putting this repository statment in a place
+# after that of the com_google_protobuf, this statement will not work as
+# expectd to download a new version of org_golang_x_sys.
+go_repository(
+ name = "org_golang_x_sys",
+ importpath = "golang.org/x/sys",
+ sum = "h1:72l8qCJ1nGxMGH26QVBVIxKd/D34cfGt0OvrPtpemyY=",
+ version = "v0.0.0-20191220220014-0732a990476f",
+)
+
# Load C++ rules.
http_archive(
name = "rules_cc",
@@ -257,13 +271,6 @@ go_repository(
)
go_repository(
- name = "org_golang_x_sys",
- importpath = "golang.org/x/sys",
- sum = "h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU=",
- version = "v0.0.0-20190215142949-d0b11bdaac8a",
-)
-
-go_repository(
name = "org_golang_x_time",
commit = "c4c64cad1fd0a1a8dab2523e04e61d35308e131e",
importpath = "golang.org/x/time",