Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set use_built_in_shell_environment default to True #182

Merged
merged 1 commit into from Mar 27, 2022

Conversation

jesseschalken
Copy link
Contributor

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.

Fixes #181

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.
@aaliddell
Copy link
Member

I’m tracking your conversation at grpc/grpc-java#8984 to see where the consensus is on this flag. I thought it used to be that it was not recommended, but perhaps that’s changed or perhaps I misremember.

@jesseschalken
Copy link
Contributor Author

The same change was merged by grpc-java here: grpc/grpc-java#8984

I've also filed an issue upstream about the underlying problem of cc_binary targets from the default MinGW toolchain not being runnable without use_default_shell_env = True here: bazelbuild/bazel#15059

@aaliddell aaliddell changed the base branch from master to dev March 27, 2022 20:31
@aaliddell aaliddell mentioned this pull request Mar 27, 2022
@aaliddell
Copy link
Member

Merging into dev for inclusion to #178. Thanks

@aaliddell aaliddell merged commit bd67159 into rules-proto-grpc:dev Mar 27, 2022
@jesseschalken jesseschalken deleted the patch-2 branch March 27, 2022 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot find libstdc++-6.dll with MinGW
2 participants