Skip to content

std.process.argsWithAllocator is removed at zig master version - #25

Merged
jacobsandlund merged 1 commit into
jacobsandlund:zig-0.16from
e0328eric:zig-0.16
Jan 8, 2026
Merged

jacobsandlund merged 1 commit into
jacobsandlund:zig-0.16from
e0328eric:zig-0.16

Conversation

@e0328eric

@e0328eric e0328eric commented Jan 8, 2026 •

Copy link
Copy Markdown
Contributor

On zig 0.16.0-dev.2040+c475f1fcd, std.process.argsWithAllocator is removed.
Instead, command line arguments are passed from the parameter of main function with type std.process.Init.Minimal (see juicy main proposal and delete os.environ, os.argv).

@jacobsandlund jacobsandlund 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.

Awesome, that was fast!

@jacobsandlund
jacobsandlund merged commit 53a210a into jacobsandlund:zig-0.16 Jan 8, 2026
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