You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error was found when trying to use a root variable UNICODE to select different win32 symbol aliases, like CreateFile is set to CreateFileA or CreateFileW based on @import("root").UNICODE. The affected project is https://github.com/marlersoft/zigwin32
The text was updated successfully, but these errors were encountered:
Vexu
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
labels
Feb 7, 2021
Reproduce the issue with these 2 files:
main.zig
:lib.zig
:What makes the dependency loop go away?
usingnamespace
lines inmain.zig
@import("lib.zig")
is aliased and reused:lib.zig
is removed and replaced with a struct:Use Case
This error was found when trying to use a root variable
UNICODE
to select different win32 symbol aliases, likeCreateFile
is set toCreateFileA
orCreateFileW
based on@import("root").UNICODE
. The affected project is https://github.com/marlersoft/zigwin32The text was updated successfully, but these errors were encountered: