Skip to content

Update known-folders dependency to fix breakage in 0.16.0-dev.2535+b5bd49460#2600

Closed
reshen wants to merge 1 commit intozigtools:masterfrom
reshen:master
Closed

Update known-folders dependency to fix breakage in 0.16.0-dev.2535+b5bd49460#2600
reshen wants to merge 1 commit intozigtools:masterfrom
reshen:master

Conversation

@reshen
Copy link

@reshen reshen commented Feb 9, 2026

Using zig version 0.16.0-dev.2535+b5bd49460 on Windows 11 causes the following error. This error is fixed by updating the known-folders dependency.

❯ zig build -Doptimize=ReleaseSafe
install
└─ install zls
   └─ compile exe zls ReleaseSafe native 1 errors
zig-pkg\known_folders-0.0.0-Fy-PJqHJAAB43zDJmOdlr3nViu69IFI9pNFt7hkHjKk4\known-folders.zig:167:39: error: root
source file struct 'os.windows' has no member named 'KF_FLAG_CREATE'
                        std.os.windows.KF_FLAG_CREATE, // TODO: Chose sane option here?
                        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
C:\Users\reshen\gamedev\tools\zig-x86_64-windows-0.16.0-dev.2535+b5bd49460\lib\std\os\windows.zig:1:1: note: struct declared here
//! This file contains thin wrappers around Windows-specific APIs, with these
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
    getPath: zig-pkg\known_folders-0.0.0-Fy-PJqHJAAB43zDJmOdlr3nViu69IFI9pNFt7hkHjKk4\known-folders.zig:139:24
    loadConfiguration: src\main.zig:412:57
    5 reference(s) hidden; use '-freference-trace=7' to see all references
error: 1 compilation errors

@Techatrix
Copy link
Member

A few more changes were necessary to get ZLS updated to the new Zig version. See #2601

@Techatrix Techatrix closed this Feb 9, 2026
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

Comments