Skip to content

Simplify public facing compiler API, enable custom protoc executable - #180

Merged
menduz merged 2 commits into
masterfrom
fix-dependency-graph-readme
Jun 16, 2026
Merged

Simplify public facing compiler API, enable custom protoc executable#180
menduz merged 2 commits into
masterfrom
fix-dependency-graph-readme

Conversation

@menduz

@menduz menduz commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Simplifies and fixes the public facing API for build.zig, we were using a wrong owner and that broke the README example.

Hardly used fields were removed in favor of passing LazyPath("protoc") which I consider more useful for people that 1) do not want to use google's 2) there are no prebuilt binaries (BSD)

I think this PR can also be enough to close #173

@menduz
menduz force-pushed the fix-dependency-graph-readme branch from 469a8e4 to 138f1fc Compare June 15, 2026 23:20
@menduz menduz changed the title Simplify public facing compiler api Simplify public facing compiler API, enable custom protoc executable Jun 15, 2026

@Arwalk Arwalk left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Dis gud.

Side note: i had https://github.com/zig-protobuf/zig-protoc working at some point, i should get back into it to propose compiled on the spot protoc.

@menduz

menduz commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

We do compile it on the spot in the conformance tests if you want to revamp it

@menduz
menduz merged commit 00dfee6 into master Jun 16, 2026
7 checks passed
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