Skip to content

zig init: simplify templating logic #24170

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

Merged
merged 1 commit into from
Jun 13, 2025
Merged

zig init: simplify templating logic #24170

merged 1 commit into from
Jun 13, 2025

Conversation

kristoff-it
Copy link
Member

And also rename advancedPrint to bufferedPrint in the zig init templates.

These are left overs from my previous changes to zig init.

The new templating system removes LITNAME because the new restrictions on package names make it redundant with NAME, and the use of underscores for marking templated identifiers lets us template variable names while still keeping zig fmt happy.

and also rename `advancedPrint` to `bufferedPrint`
in the zig init templates
@kristoff-it kristoff-it enabled auto-merge (squash) June 13, 2025 16:18
@kristoff-it kristoff-it merged commit 180e844 into master Jun 13, 2025
10 checks passed
@kristoff-it kristoff-it deleted the more-zig-init branch June 13, 2025 22:31
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.

1 participant