Commit ef61a9d3 authored by Yunlong Liu's avatar Yunlong Liu

add a key to ctx.action dict to prevent protoc losing the default env

parent a95e38ce
...@@ -90,6 +90,7 @@ def _proto_gen_impl(ctx): ...@@ -90,6 +90,7 @@ def _proto_gen_impl(ctx):
arguments=args + import_flags + [s.path for s in srcs], arguments=args + import_flags + [s.path for s in srcs],
executable=ctx.executable.protoc, executable=ctx.executable.protoc,
mnemonic="ProtoCompile", mnemonic="ProtoCompile",
use_default_shell_env=True,
) )
return struct( return struct(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment