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
root@ser300462488588:~/build# zig build -Dversion=1.2.3 --summary all
/root/build/build.zig:7:17: error: expected type'zig.CrossTarget', found 'zig.system.NativeTargetInfo'
.target = b.host,
~~~~~~~~^~~~~~~~
/usr/bin/zig/lib/std/zig/system/NativeTargetInfo.zig:1:1: note: struct declared here
const std = @import("../../std.zig");
^~~~~
/usr/bin/zig/lib/std/zig/CrossTarget.zig:1:1: note: struct declared here
//! Contains all the same data as `Target`, additionally introducing the concept of "the native target".
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
runBuild__anon_6853: /usr/bin/zig/lib/std/Build.zig:1882:27
steps__anon_6675: /usr/bin/zig/lib/build_runner.zig:969:29
remaining reference traces hidden; use '-freference-trace' to see all reference traces
The text was updated successfully, but these errors were encountered:
The exact error message looks like the following, how do I fix this? Thanks for the help!
ref: https://ziglang.org/learn/build-system/
The text was updated successfully, but these errors were encountered: