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
hi.zig:2:26: error: root struct of file 'test_runner' has no member named 'a'
const b = @import("root").a;
~~~~~~~~~~~~~~~^~
referenced by:
test_0: hi.zig:9:9
remaining reference traces hidden; use '-freference-trace' to see all reference traces
Expected Behavior
I think they should behave the same.
Currently std.log changes behavior in test mode. Maybe it can only be done by swapping out the root module.
The text was updated successfully, but these errors were encountered:
iacore
added
the
bug
Observed behavior contradicts documented or intended behavior
label
Sep 10, 2023
Zig Version
0.11.0
Steps to Reproduce and Observed Behavior
zig build-exe hi.zig
(works!)zig test hi.zig
(error)Expected Behavior
I think they should behave the same.
Currently
std.log
changes behavior in test mode. Maybe it can only be done by swapping out the root module.The text was updated successfully, but these errors were encountered: