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

Updated to support 0.10.0-dev #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

baby
Copy link

@baby baby commented Apr 14, 2022

argsWithAllocator() is needed in place of args() for Windows compatibility

argsWithAllocator() is needed in place of args() for Windows compatibility
Copy link

@Andrei-Errapart Andrei-Errapart left a comment

Choose a reason for hiding this comment

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

I tried with 0.10.0-dev.2561+70dc91008 and got the following error:

./src/main.zig:92:39: error: expected error union type, found '[:0]const u8'
const file_name = try args.next() orelse return error.MandatoryFilenameArgumentNotGiven;

It was of course trivial to correct; just that it is the first time I've ever compiled a zig program; thus I am pretty sure you guys have a better idea for a fix.

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