From eaf78af502572a820f5740a53d9815c48df55aec Mon Sep 17 00:00:00 2001 From: Angus Lees Date: Wed, 26 Oct 2022 16:00:20 +1100 Subject: [PATCH] Update cpp-jsonnet reference to match git submodule version Unlike naive `go build`, bazel builds generate `astgen/stdast.go` on the fly from cpp_jsonnet's stdlib. Cool. Previously however, the cpp_jsonnet versions in git submodule (used by naive `go build`) and bazel `http_archive` declarations were not in sync. Not so cool. This meant `bazel test //:go_default_test` failed on `TestEval/testdata/stdlib_smoke_test`, since the stale bazel cpp_jsonnet version lacked `std.get`. This PR updates cpp-jsonnet to match git submodule version. --- bazel/repositories.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 09be200..c0e70f7 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -4,8 +4,8 @@ load( ) # NB: update_cpp_jsonnet.sh looks for these. -CPP_JSONNET_SHA256 = "82d3cd35de8ef230d094b60a30e7659f415c350b0aa2bd62162cf2afdf163959" -CPP_JSONNET_GITHASH = "90cad75dcc2eafdcf059c901169d36539dc8a699" +CPP_JSONNET_SHA256 = "867fe09842e9868c95d57c19648674241a83c581a780ab4f4a5a37ac2afb06be" +CPP_JSONNET_GITHASH = "34419d2483927ceb17cd506cad77c3c2a96e7b8c" def jsonnet_go_repositories(): http_archive(