From 65d1b6297f64eff68773ddbae1eb899801e1d311 Mon Sep 17 00:00:00 2001 From: Jesse Schalken Date: Mon, 14 Mar 2022 12:18:55 +1100 Subject: [PATCH] Set use_built_in_shell_environment default to True This is required for a protoc compiled with MinGW, which has a dependency on C:\msys64\mingw64\bin\libstdc++-6.dll and thus requires C:\msys64\mingw64\bin to be in the PATH. --- internal/plugin.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/plugin.bzl b/internal/plugin.bzl index 0b9d88757..0480edae6 100644 --- a/internal/plugin.bzl +++ b/internal/plugin.bzl @@ -51,7 +51,7 @@ proto_plugin = rule( ), "use_built_in_shell_environment": attr.bool( doc = "Whether the tool should use the built in shell environment or not", - default = False, + default = True, ), "protoc_plugin_name": attr.string( doc = "The name used for the plugin binary on the protoc command line. Useful for targeting built-in plugins. Uses plugin name when not set",