Repository navigation
grpc-tools: Build Windows binaries in Release configuration - #3136
Merged
Merged
Conversation
|
|
The Windows protoc.exe and grpc_node_plugin.exe are currently built in the default Debug configuration and linked against the debug C++ runtime DLLs (VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, MSVCP140D.dll, ucrtbased.dll), which are only installed with Visual Studio. Thus the binaries fail to start on Windows machines without Visual Studio. Now the binaries are built with --config Release. Fixes grpc#2361 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mardukbp
force-pushed
the
fix/protoc-debug-dlls
branch
from
November 27, 2026 09:41
165c4bd to
691892a
Compare
murgatroid99
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Windows protoc.exe and grpc_node_plugin.exe are currently built in
the default Debug configuration and linked against the debug C++
runtime DLLs (VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, MSVCP140D.dll,
ucrtbased.dll), which are only installed with Visual Studio. Thus the
binaries fail to start on Windows machines without Visual Studio.
Now the binaries are built with --config Release.
This PR fixes #2361. Claude analyzed the problem and wrote the fix. I executed the build workflow in my fork, downloaded the artifact and tested that the binaries can be executed without Visual Studio.