Explorar o código

Merge pull request #2933 from mharrend/patch-1

Adding default shell env to allow non-default compilers
Adam Cozzette %!s(int64=8) %!d(string=hai) anos
pai
achega
139fd0a1c5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      protobuf.bzl

+ 1 - 0
protobuf.bzl

@@ -108,6 +108,7 @@ def _proto_gen_impl(ctx):
         arguments=args + import_flags + [s.path for s in srcs],
         executable=ctx.executable.protoc,
         mnemonic="ProtoCompile",
+        use_default_shell_env=True,
     )
 
   return struct(