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

Fixes a path corruption when compiling on windows. #1488

merged 1 commit into from Sep 8, 2018


None yet
2 participants

Sahnvour commented Sep 8, 2018

It would be nice to have overloads of str to make a distinction between runtime strings, and char arrays/string litterals.
The former would call strlen and the latter just deduce the length of the buffer/string with a template.
Unfortunately msvc behaves differently than gcc and clang, and does not select the correct overload in some cases.

@andrewrk andrewrk merged commit 859b0ae into ziglang:master Sep 8, 2018

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
continuous-integration/appveyor/pr AppVeyor build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment