Attempting to zig build run
(exe.run()
) when cross-compiling
#12875
Labels
bug
Observed behavior contradicts documented or intended behavior
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
Zig Version
0.10.0-dev.3685+dae7aeb33
Steps to Reproduce
I cross-compiled on macOS to Windows, however I erroneously did
zig build run
instead ofzig build
(while having the default run step generated byzig init-exe
).Expected Behavior
I expected to have an appropriate error message. (Ideally, I would want to launch wine, though that should be possible by coding it in the build.zig)
Actual Behavior
Instead I get this:
The text was updated successfully, but these errors were encountered: