-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Build failed on Win10 after 0.12.0-dev.164 #17049
Comments
NTSTATUS Looks like while We have a few options here:
Personally I'm leaning towards option 3. cc @matu3ba |
I also found information in this link, about return values, it also can be one of |
My reasoning would be to keep the behavior and code as simple as possible, so also option 3 unless one comes up with a strong justification why updating to |
FILE_RENAME_IGNORE_READONLY_ATTRIBUTE requires win10_rs5 and posix semantics for renameatW are available with win10_rs1. Keep it as simple as possible, since it is reasonable to expect users being able to update win10_rs5 or use non-posix semantics instead. Closes ziglang#17049.
I suppose DeleteFile in windows.zig also need to be change |
…r posix semantics Usage of FILE_RENAME_IGNORE_READONLY_ATTRIBUTE or FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE for posix semantics require win10_rs5 instead of win10_rs1 necessary for posix semantics. Keep it as simple as possible, since it is reasonable to expect users being able to update win10_rs5 or use non-posix semantics instead. Closes ziglang#17049.
…r posix semantics Usage of FILE_RENAME_IGNORE_READONLY_ATTRIBUTE or FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE for posix semantics require win10_rs5 instead of win10_rs1 necessary for posix semantics. Keep it as simple as possible, since it is reasonable to expect users being able to update win10_rs5 or use non-posix semantics instead. Closes #17049.
Thanks |
Zig Version
0.12.0-dev.252+5dc2db805
Steps to Reproduce and Observed Behavior
Old windows 10 (1709).
Last working version I have -
zig_0.12.0-dev.152+411462e1c
Oldest not working version I have -
zig-windows-x86_64-0.12.0-dev.185+49075d205
Same not works with lastest(RN) version -
zig-windows-x86_64-0.12.0-dev.252+5dc2db805
I look for possible reason in changes between versions 152 and 185 and found this 0.12.0-dev.164 6780a6b...7a834e2
Mine
builtin.os.version_range.windows = target.Target.Os.WindowsVersion.Range{ .min = WindowsVersion.win10_rs3, .max = WindowsVersion.win10_rs3 }
Expected Behavior
Sucessful build
The text was updated successfully, but these errors were encountered: