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

chore: ensure we don't try to compile any C++ code #16

Merged
merged 4 commits into from
Jun 11, 2024
Merged

chore: ensure we don't try to compile any C++ code #16

merged 4 commits into from
Jun 11, 2024

Conversation

alexeagle
Copy link
Member

We don't have any C++ code in this repo, and want to make sure that our examples don't transitively depend on building protoc from source.

#13 should have been red due to the issue I fixed in protocolbuffers/protobuf#17078

This change ensures that PR and any others that regress will be caught by CI.

It should be the case that users with a broken or non-hermetic CC toolchain are still able to work with Protocol Buffers.

@alexeagle
Copy link
Member Author

@fmeum this fails for the wrong reason: rules_go doesn't ship with a binary of the Go stdlib.
We discussed that in some thread on Slack I think.

Can you suggest a different way to prevent transitives from accidentally compiling protoc from source? I want that to be a hard fail if it occurs.

Copy link
Contributor

@fmeum fmeum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will look into it.

MODULE.bazel Outdated Show resolved Hide resolved
@fmeum
Copy link
Contributor

fmeum commented Jun 11, 2024

I sent #17

alexeagle and others added 3 commits June 11, 2024 11:54
We don't have any C++ code in this repo, and want to make sure that our examples don't transitively depend on building protoc from source.
Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
@alexeagle alexeagle merged commit 9d55180 into main Jun 11, 2024
7 checks passed
@alexeagle alexeagle deleted the go branch June 11, 2024 19:09
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.

2 participants