while i was reading some docs a came across
https://codeberg.org/ziglang/zig/src/commit/aca58dd61a80f8bfe162ee9f715a605b4066f9c0/lib/std/process.zig#L28-L30
which implies that main would take a second argument is there any plans for that or is this comment outdated maybe ?
Kinda, see https://codeberg.org/ziglang/zig/issues/30677
It will be a method on init, rather than a second argument.
The issue linked in the code comment is closed with a codeberg PR, but lists followup issue on github, which is closed with a link to the currently open codeberg issue.
What has happened here is that the migration from github to codeberg is “copy on write”. That is, if the issue needs further discussion, that happens on codeberg and the github issue is closed with a link to the codeberg issue. The route to the open issue is a bit circuitous, but that’s just a result of the issue tracker migration and project management over time.