tensorflow/third_party/grpc/generate_cc_env_fix.patch
Reed Wanderman-Milne 5d070584cb Rollback https://github.com/tensorflow/tensorflow/pull/51923.
After the gRPC upgrade, several tests on Windows failed with the error `Windows fatal exception: code 0xc0000374`.

PiperOrigin-RevId: 396899964
Change-Id: I31a12075ec9981612bff67451caf6a0a8972ab11
2021-09-15 12:53:20 -07:00

11 lines
304 B
Diff

--- a/bazel/generate_cc.bzl
+++ b/bazel/generate_cc.bzl
@@ -141,6 +141,7 @@ def generate_cc_impl(ctx):
outputs = out_files,
executable = ctx.executable._protoc,
arguments = arguments,
+ use_default_shell_env = True,
)
return struct(files = depset(out_files))