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

[windows, 0.12-dev] error: root struct of file 'zig.system' has no member named 'NativeTargetInfo' #18457

Closed
kitsuniru opened this issue Jan 5, 2024 · 2 comments
Labels
bug Observed behavior contradicts documented or intended behavior

Comments

@kitsuniru
Copy link

kitsuniru commented Jan 5, 2024

Zig Version

0.12.0-dev.2046+d3a163f86

Steps to Reproduce and Observed Behavior

Windows 10 x64

install latest zig and Zig Language extension on vscode, open any project

logs from Output (Zig Language Server tab):

D:\zig\zig.EXE build --build-runner C:\Users\Username\AppData\Local\Temp\zls\build_runner_master.zig
Error: C:\Users\Username\AppData\Local\Temp\zls\build_runner_master.zig:72:37: error: root struct of file 'zig.system' has no member named 'NativeTargetInfo'

D:\zig\lib\std\zig\system.zig:1:1: note: struct declared here

Expected Behavior

There's should be no errors after extension initialization

@kitsuniru kitsuniru added the bug Observed behavior contradicts documented or intended behavior label Jan 5, 2024
@kitsuniru kitsuniru changed the title [zls] error: root struct of file 'zig.system' has no member named 'NativeTargetInfo' [windows, 0.12-dev] error: root struct of file 'zig.system' has no member named 'NativeTargetInfo' Jan 5, 2024
@llogick
Copy link
Contributor

llogick commented Jan 5, 2024

A working version should be available shortly - it just got updated zigtools/zls#1698

@Vexu
Copy link
Member

Vexu commented Jan 5, 2024

Not a Zig bug and not the right place to report issues in ZLS or the vscode extension.

@Vexu Vexu closed this as not planned Won't fix, can't repro, duplicate, stale Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

No branches or pull requests

3 participants