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

Unhelpful "Unexpected" on Windows + network drive #20325

Closed
Pistahh opened this issue Jun 17, 2024 · 2 comments
Closed

Unhelpful "Unexpected" on Windows + network drive #20325

Pistahh opened this issue Jun 17, 2024 · 2 comments
Labels
error message This issue points out an error message that is unhelpful and should be improved.

Comments

@Pistahh
Copy link

Pistahh commented Jun 17, 2024

Zig Version

0.13.0

Steps to Reproduce and Observed Output

  • Windows 10
  • Linux Samba share mounted as D:
  • Create and compile an empty project
D:\>mkdir wintest

D:\>cd wintest

D:\wintest>zig init
info: created build.zig
info: created build.zig.zon
info: created src\main.zig
info: created src\root.zig
info: see `zig build --help` for a menu of options

D:\wintest>zig build

D:\wintest>zig build run
error: Unexpected

Expected Output

Something that actually tells what is wrong :)

@Pistahh Pistahh added the error message This issue points out an error message that is unhelpful and should be improved. label Jun 17, 2024
@squeek502
Copy link
Collaborator

squeek502 commented Jun 17, 2024

Likely a duplicate of #19785 which was fixed by #19804 but didn't make it in on time for 0.13.0. Could you try the latest master version of Zig to see if that fixes it for you?

@Pistahh
Copy link
Author

Pistahh commented Jun 20, 2024

bingo, it works with latest master. Thank you.

@Pistahh Pistahh closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error message This issue points out an error message that is unhelpful and should be improved.
Projects
None yet
Development

No branches or pull requests

2 participants