Browse Source

Merge pull request #2933 from mharrend/patch-1

Adding default shell env to allow non-default compilers
Adam Cozzette 8 năm trước cách đây
mục cha
commit
139fd0a1c5
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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(