I’m building release binaries for multiple targets. But I am getting some errors printing after executing zig build release
for my project:
jeff@jeff-debian:~/repos/gatorcat$ zig build release
release
└─ install gatorcat
└─ zig build-exe gatorcat ReleaseSafe aarch64-linux-musl failure
error: 'x86-64' is not a recognized processor for this target (ignoring processor)
'+64bit' is not a recognized feature for this target (ignoring feature)
'+cmov' is not a recognized feature for this target (ignoring feature)
'+cx8' is not a recognized feature for this target (ignoring feature)
'+fxsr' is not a recognized feature for this target (ignoring feature)
'+idivq-to-divl' is not a recognized feature for this target (ignoring feature)
'+macrofusion' is not a recognized feature for this target (ignoring feature)
'+mmx' is not a recognized feature for this target (ignoring feature)
'+nopl' is not a recognized feature for this target (ignoring feature)
'+slow-3ops-lea' is not a recognized feature for this target (ignoring feature)
'+slow-incdec' is not a recognized feature for this target (ignoring feature)
'+sse' is not a recognized feature for this target (ignoring feature)
'+sse2' is not a recognized feature for this target (ignoring feature)
'+vzeroupper' is not a recognized feature for this target (ignoring feature)
'+x87' is not a recognized feature for this target (ignoring feature)
'-16bit-mode' is not a recognized feature for this target (ignoring feature)
'-32bit-mode' is not a recognized feature for this target (ignoring feature)
'-adx' is not a recognized feature for this target (ignoring feature)
'-allow-light-256-bit' is not a recognized feature for this target (ignoring feature)
'-amx-bf16' is not a recognized feature for this target (ignoring feature)
'-amx-complex' is not a recognized feature for this target (ignoring feature)
'-amx-fp16' is not a recognized feature for this target (ignoring feature)
'-amx-int8' is not a recognized feature for this target (ignoring feature)
'-amx-tile' is not a recognized feature for this target (ignoring feature)
'-avx' is not a recognized feature for this target (ignoring feature)
'-avx10.1-256' is not a recognized feature for this target (ignoring feature)
'-avx10.1-512' is not a recognized feature for this target (ignoring feature)
'-avx2' is not a recognized feature for this target (ignoring feature)
'-avx512bf16' is not a recognized feature for this target (ignoring feature)
'-avx512bitalg' is not a recognized feature for this target (ignoring feature)
'-avx512bw' is not a recognized feature for this target (ignoring feature)
'-avx512cd' is not a recognized feature for this target (ignoring feature)
'-avx512dq' is not a recognized feature for this target (ignoring feature)
'-avx512f' is not a recognized feature for this target (ignoring feature)
'-avx512fp16' is not a recognized feature for this target (ignoring feature)
'-avx512ifma' is not a recognized feature for this target (ignoring feature)
'-avx512vbmi' is not a recognized feature for this target (ignoring feature)
'-avx512vbmi2' is not a recognized feature for this target (ignoring feature)
'-avx512vl' is not a recognized feature for this target (ignoring feature)
'-avx512vnni' is not a recognized feature for this target (ignoring feature)
'-avx512vp2intersect' is not a recognized feature for this target (ignoring feature)
'-avx512vpopcntdq' is not a recognized feature for this target (ignoring feature)
'-avxifma' is not a recognized feature for this target (ignoring feature)
'-avxneconvert' is not a recognized feature for this target (ignoring feature)
'-avxvnni' is not a recognized feature for this target (ignoring feature)
'-avxvnniint16' is not a recognized feature for this target (ignoring feature)
'-avxvnniint8' is not a recognized feature for this target (ignoring feature)
'-bmi' is not a recognized feature for this target (ignoring feature)
'-bmi2' is not a recognized feature for this target (ignoring feature)
'-branch-hint' is not a recognized feature for this target (ignoring feature)
'-branchfusion' is not a recognized feature for this target (ignoring feature)
'-ccmp' is not a recognized feature for this target (ignoring feature)
'-cf' is not a recognized feature for this target (ignoring feature)
'-cldemote' is not a recognized feature for this target (ignoring feature)
'-clflushopt' is not a recognized feature for this target (ignoring feature)
'-clwb' is not a recognized feature for this target (ignoring feature)
'-clzero' is not a recognized feature for this target (ignoring feature)
'-cmpccxadd' is not a recognized feature for this target (ignoring feature)
'-crc32' is not a recognized feature for this target (ignoring feature)
'-cx16' is not a recognized feature for this target (ignoring feature)
'-egpr' is not a recognized feature for this target (ignoring feature)
'-enqcmd' is not a recognized feature for this target (ignoring feature)
'-ermsb' is not a recognized feature for this target (ignoring feature)
'-evex512' is not a recognized feature for this target (ignoring feature)
'-f16c' is not a recognized feature for this target (ignoring feature)
'-false-deps-getmant' is not a recognized feature for this target (ignoring feature)
'-false-deps-lzcnt-tzcnt' is not a recognized feature for this target (ignoring feature)
'-false-deps-mulc' is not a recognized feature for this target (ignoring feature)
'-false-deps-mullq' is not a recognized feature for this target (ignoring feature)
'-false-deps-perm' is not a recognized feature for this target (ignoring feature)
'-false-deps-popcnt' is not a recognized feature for this target (ignoring feature)
'-false-deps-range' is not a recognized feature for this target (ignoring feature)
'-fast-11bytenop' is not a recognized feature for this target (ignoring feature)
'-fast-15bytenop' is not a recognized feature for this target (ignoring feature)
'-fast-7bytenop' is not a recognized feature for this target (ignoring feature)
'-fast-bextr' is not a recognized feature for this target (ignoring feature)
'-fast-dpwssd' is not a recognized feature for this target (ignoring feature)
'-fast-gather' is not a recognized feature for this target (ignoring feature)
'-fast-hops' is not a recognized feature for this target (ignoring feature)
'-fast-imm16' is not a recognized feature for this target (ignoring feature)
'-fast-lzcnt' is not a recognized feature for this target (ignoring feature)
'-fast-movbe' is not a recognized feature for this target (ignoring feature)
'-fast-scalar-fsqrt' is not a recognized feature for this target (ignoring feature)
'-fast-scalar-shift-masks' is not a recognized feature for this target (ignoring feature)
'-fast-shld-rotate' is not a recognized feature for this target (ignoring feature)
'-fast-variable-crosslane-shuffle' is not a recognized feature for this target (ignoring feature)
'-fast-variable-perlane-shuffle' is not a recognized feature for this target (ignoring feature)
'-fast-vector-fsqrt' is not a recognized feature for this target (ignoring feature)
'-fast-vector-shift-masks' is not a recognized feature for this target (ignoring feature)
'-faster-shift-than-shuffle' is not a recognized feature for this target (ignoring feature)
'-fma' is not a recognized feature for this target (ignoring feature)
'-fma4' is not a recognized feature for this target (ignoring feature)
'-fsgsbase' is not a recognized feature for this target (ignoring feature)
'-fsrm' is not a recognized feature for this target (ignoring feature)
'-gfni' is not a recognized feature for this target (ignoring feature)
'-harden-sls-ijmp' is not a recognized feature for this target (ignoring feature)
'-harden-sls-ret' is not a recognized feature for this target (ignoring feature)
'-hreset' is not a recognized feature for this target (ignoring feature)
'-idivl-to-divb' is not a recognized feature for this target (ignoring feature)
'-inline-asm-use-gpr32' is not a recognized feature for this target (ignoring feature)
'-invpcid' is not a recognized feature for this target (ignoring feature)
'-kl' is not a recognized feature for this target (ignoring feature)
'-lea-sp' is not a recognized feature for this target (ignoring feature)
'-lea-uses-ag' is not a recognized feature for this target (ignoring feature)
'-lvi-cfi' is not a recognized feature for this target (ignoring feature)
'-lvi-load-hardening' is not a recognized feature for this target (ignoring feature)
'-lwp' is not a recognized feature for this target (ignoring feature)
'-lzcnt' is not a recognized feature for this target (ignoring feature)
'-movbe' is not a recognized feature for this target (ignoring feature)
'-movdir64b' is not a recognized feature for this target (ignoring feature)
'-movdiri' is not a recognized feature for this target (ignoring feature)
'-mwaitx' is not a recognized feature for this target (ignoring feature)
'-ndd' is not a recognized feature for this target (ignoring feature)
'-nf' is not a recognized feature for this target (ignoring feature)
'-no-bypass-delay' is not a recognized feature for this target (ignoring feature)
'-no-bypass-delay-blend' is not a recognized feature for this target (ignoring feature)
'-no-bypass-delay-mov' is not a recognized feature for this target (ignoring feature)
'-no-bypass-delay-shuffle' is not a recognized feature for this target (ignoring feature)
'-pad-short-functions' is not a recognized feature for this target (ignoring feature)
'-pclmul' is not a recognized feature for this target (ignoring feature)
'-pconfig' is not a recognized feature for this target (ignoring feature)
'-pku' is not a recognized feature for this target (ignoring feature)
'-popcnt' is not a recognized feature for this target (ignoring feature)
'-ppx' is not a recognized feature for this target (ignoring feature)
'-prefer-128-bit' is not a recognized feature for this target (ignoring feature)
'-prefer-256-bit' is not a recognized feature for this target (ignoring feature)
'-prefer-mask-registers' is not a recognized feature for this target (ignoring feature)
'-prefer-movmsk-over-vtest' is not a recognized feature for this target (ignoring feature)
'-prefer-no-gather' is not a recognized feature for this target (ignoring feature)
'-prefer-no-scatter' is not a recognized feature for this target (ignoring feature)
'-prefetchi' is not a recognized feature for this target (ignoring feature)
'-prfchw' is not a recognized feature for this target (ignoring feature)
'-ptwrite' is not a recognized feature for this target (ignoring feature)
'-push2pop2' is not a recognized feature for this target (ignoring feature)
'-raoint' is not a recognized feature for this target (ignoring feature)
'-rdpid' is not a recognized feature for this target (ignoring feature)
'-rdpru' is not a recognized feature for this target (ignoring feature)
'-rdrnd' is not a recognized feature for this target (ignoring feature)
'-rdseed' is not a recognized feature for this target (ignoring feature)
'-retpoline' is not a recognized feature for this target (ignoring feature)
'-retpoline-external-thunk' is not a recognized feature for this target (ignoring feature)
'-retpoline-indirect-branches' is not a recognized feature for this target (ignoring feature)
'-retpoline-indirect-calls' is not a recognized feature for this target (ignoring feature)
'-rtm' is not a recognized feature for this target (ignoring feature)
'-sahf' is not a recognized feature for this target (ignoring feature)
'-sbb-dep-breaking' is not a recognized feature for this target (ignoring feature)
'-serialize' is not a recognized feature for this target (ignoring feature)
'-seses' is not a recognized feature for this target (ignoring feature)
'-sgx' is not a recognized feature for this target (ignoring feature)
'-sha' is not a recognized feature for this target (ignoring feature)
'-sha512' is not a recognized feature for this target (ignoring feature)
'-shstk' is not a recognized feature for this target (ignoring feature)
'-slow-lea' is not a recognized feature for this target (ignoring feature)
'-slow-pmaddwd' is not a recognized feature for this target (ignoring feature)
'-slow-pmulld' is not a recognized feature for this target (ignoring feature)
'-slow-shld' is not a recognized feature for this target (ignoring feature)
'-slow-two-mem-ops' is not a recognized feature for this target (ignoring feature)
'-slow-unaligned-mem-16' is not a recognized feature for this target (ignoring feature)
'-slow-unaligned-mem-32' is not a recognized feature for this target (ignoring feature)
'-sm3' is not a recognized feature for this target (ignoring feature)
'-soft-float' is not a recognized feature for this target (ignoring feature)
'-sse3' is not a recognized feature for this target (ignoring feature)
'-sse4.1' is not a recognized feature for this target (ignoring feature)
'-sse4.2' is not a recognized feature for this target (ignoring feature)
'-sse4a' is not a recognized feature for this target (ignoring feature)
'-sse-unaligned-mem' is not a recognized feature for this target (ignoring feature)
'-ssse3' is not a recognized feature for this target (ignoring feature)
'-tbm' is not a recognized feature for this target (ignoring feature)
'-tsxldtrk' is not a recognized feature for this target (ignoring feature)
'-tuning-fast-imm-vector-shift' is not a recognized feature for this target (ignoring feature)
'-uintr' is not a recognized feature for this target (ignoring feature)
'-use-glm-div-sqrt-costs' is not a recognized feature for this target (ignoring feature)
'-use-slm-arith-costs' is not a recognized feature for this target (ignoring feature)
'-usermsr' is not a recognized feature for this target (ignoring feature)
'-vaes' is not a recognized feature for this target (ignoring feature)
'-vpclmulqdq' is not a recognized feature for this target (ignoring feature)
'-waitpkg' is not a recognized feature for this target (ignoring feature)
'-wbnoinvd' is not a recognized feature for this target (ignoring feature)
'-widekl' is not a recognized feature for this target (ignoring feature)
'-xop' is not a recognized feature for this target (ignoring feature)
'-xsave' is not a recognized feature for this target (ignoring feature)
'-xsavec' is not a recognized feature for this target (ignoring feature)
'-xsaveopt' is not a recognized feature for this target (ignoring feature)
'-xsaves' is not a recognized feature for this target (ignoring feature)
'-zu' is not a recognized feature for this target (ignoring feature)
'x86-64' is not a recognized processor for this target (ignoring processor)
'x86-64' is not a recognized processor for this target (ignoring processor)
'+64bit' is not a recognized feature for this target (ignoring feature)
'+cmov' is not a recognized feature for this target (ignoring feature)
'+cx8' is not a recognized feature for this target (ignoring feature)
'+fxsr' is not a recognized feature for this target (ignoring feature)
'+idivq-to-divl' is not a recognized feature for this target (ignoring feature)
'+macrofusion' is not a recognized feature for this target (ignoring feature)
'+mmx' is not a recognized feature for this target (ignoring feature)
'+nopl' is not a recognized feature for this target (ignoring feature)
'+slow-3ops-lea' is not a recognized feature for this target (ignoring feature)
'+slow-incdec' is not a recognized feature for this target (ignoring feature)
'+sse' is not a recognized feature for this target (ignoring feature)
'+sse2' is not a recognized feature for this target (ignoring feature)
'+vzeroupper' is not a recognized feature for this target (ignoring feature)
'+x87' is not a recognized feature for this target (ignoring feature)
'-16bit-mode' is not a recognized feature for this target (ignoring feature)
'-32bit-mode' is not a recognized feature for this target (ignoring feature)
'-adx' is not a recognized feature for this target (ignoring feature)
'-allow-light-256-bit' is not a recognized feature for this target (ignoring feature)
'-amx-bf16' is not a recognized feature for this target (ignoring feature)
'-amx-complex' is not a recognized feature for this target (ignoring feature)
'-amx-fp16' is not a recognized feature for this target (ignoring feature)
'-amx-int8' is not a recognized feature for this target (ignoring feature)
'-amx-tile' is not a recognized feature for this target (ignoring feature)
'-avx' is not a recognized feature for this target (ignoring feature)
'-avx10.1-256' is not a recognized feature for this target (ignoring feature)
'-avx10.1-512' is not a recognized feature for this target (ignoring feature)
'-avx2' is not a recognized feature for this target (ignoring feature)
'-avx512bf16' is not a recognized feature for this target (ignoring feature)
'-avx512bitalg' is not a recognized feature for this target (ignoring feature)
'-avx512bw' is not a recognized feature for this target (ignoring feature)
'-avx512cd' is not a recognized feature for this target (ignoring feature)
'-avx512dq' is not a recognized feature for this target (ignoring feature)
'-avx512f' is not a recognized feature for this target (ignoring feature)
'-avx512fp16' is not a recognized feature for this target (ignoring feature)
'-avx512ifma' is not a recognized feature for this target (ignoring feature)
'-avx512vbmi' is not a recognized feature for this target (ignoring feature)
'-avx512vbmi2' is not a recognized feature for this target (ignoring feature)
'-avx512vl' is not a recognized feature for this target (ignoring feature)
'-avx512vnni' is not a recognized feature for this target (ignoring feature)
'-avx512vp2intersect' is not a recognized feature for this target (ignoring feature)
'-avx512vpopcntdq' is not a recognized feature for this target (ignoring feature)
'-avxifma' is not a recognized feature for this target (ignoring feature)
'-avxneconvert' is not a recognized feature for this target (ignoring feature)
'-avxvnni' is not a recognized feature for this target (ignoring feature)
'-avxvnniint16' is not a recognized feature for this target (ignoring feature)
'-avxvnniint8' is not a recognized feature for this target (ignoring feature)
'-bmi' is not a recognized feature for this target (ignoring feature)
'-bmi2' is not a recognized feature for this target (ignoring feature)
'-branch-hint' is not a recognized feature for this target (ignoring feature)
'-branchfusion' is not a recognized feature for this target (ignoring feature)
'-ccmp' is not a recognized feature for this target (ignoring feature)
'-cf' is not a recognized feature for this target (ignoring feature)
'-cldemote' is not a recognized feature for this target (ignoring feature)
'-clflushopt' is not a recognized feature for this target (ignoring feature)
'-clwb' is not a recognized feature for this target (ignoring feature)
'-clzero' is not a recognized feature for this target (ignoring feature)
'-cmpccxadd' is not a recognized feature for this target (ignoring feature)
'-crc32' is not a recognized feature for this target (ignoring feature)
'-cx16' is not a recognized feature for this target (ignoring feature)
'-egpr' is not a recognized feature for this target (ignoring feature)
'-enqcmd' is not a recognized feature for this target (ignoring feature)
'-ermsb' is not a recognized feature for this target (ignoring feature)
'-evex512' is not a recognized feature for this target (ignoring feature)
'-f16c' is not a recognized feature for this target (ignoring feature)
'-false-deps-getmant' is not a recognized feature for this target (ignoring feature)
'-false-deps-lzcnt-tzcnt' is not a recognized feature for this target (ignoring feature)
'-false-deps-mulc' is not a recognized feature for this target (ignoring feature)
'-false-deps-mullq' is not a recognized feature for this target (ignoring feature)
'-false-deps-perm' is not a recognized feature for this target (ignoring feature)
'-false-deps-popcnt' is not a recognized feature for this target (ignoring feature)
'-false-deps-range' is not a recognized feature for this target (ignoring feature)
'-fast-11bytenop' is not a recognized feature for this target (ignoring feature)
'-fast-15bytenop' is not a recognized feature for this target (ignoring feature)
'-fast-7bytenop' is not a recognized feature for this target (ignoring feature)
'-fast-bextr' is not a recognized feature for this target (ignoring feature)
'-fast-dpwssd' is not a recognized feature for this target (ignoring feature)
'-fast-gather' is not a recognized feature for this target (ignoring feature)
'-fast-hops' is not a recognized feature for this target (ignoring feature)
'-fast-imm16' is not a recognized feature for this target (ignoring feature)
'-fast-lzcnt' is not a recognized feature for this target (ignoring feature)
'-fast-movbe' is not a recognized feature for this target (ignoring feature)
'-fast-scalar-fsqrt' is not a recognized feature for this target (ignoring feature)
'-fast-scalar-shift-masks' is not a recognized feature for this target (ignoring feature)
'-fast-shld-rotate' is not a recognized feature for this target (ignoring feature)
'-fast-variable-crosslane-shuffle' is not a recognized feature for this target (ignoring feature)
'-fast-variable-perlane-shuffle' is not a recognized feature for this target (ignoring feature)
'-fast-vector-fsqrt' is not a recognized feature for this target (ignoring feature)
'-fast-vector-shift-masks' is not a recognized feature for this target (ignoring feature)
'-faster-shift-than-shuffle' is not a recognized feature for this target (ignoring feature)
'-fma' is not a recognized feature for this target (ignoring feature)
'-fma4' is not a recognized feature for this target (ignoring feature)
'-fsgsbase' is not a recognized feature for this target (ignoring feature)
'-fsrm' is not a recognized feature for this target (ignoring feature)
'-gfni' is not a recognized feature for this target (ignoring feature)
'-harden-sls-ijmp' is not a recognized feature for this target (ignoring feature)
'-harden-sls-ret' is not a recognized feature for this target (ignoring feature)
'-hreset' is not a recognized feature for this target (ignoring feature)
'-idivl-to-divb' is not a recognized feature for this target (ignoring feature)
'-inline-asm-use-gpr32' is not a recognized feature for this target (ignoring feature)
'-invpcid' is not a recognized feature for this target (ignoring feature)
'-kl' is not a recognized feature for this target (ignoring feature)
'-lea-sp' is not a recognized feature for this target (ignoring feature)
'-lea-uses-ag' is not a recognized feature for this target (ignoring feature)
'-lvi-cfi' is not a recognized feature for this target (ignoring feature)
'-lvi-load-hardening' is not a recognized feature for this target (ignoring feature)
'-lwp' is not a recognized feature for this target (ignoring feature)
'-lzcnt' is not a recognized feature for this target (ignoring feature)
'-movbe' is not a recognized feature for this target (ignoring feature)
'-movdir64b' is not a recognized feature for this target (ignoring feature)
'-movdiri' is not a recognized feature for this target (ignoring feature)
'-mwaitx' is not a recognized feature for this target (ignoring feature)
'-ndd' is not a recognized feature for this target (ignoring feature)
'-nf' is not a recognized feature for this target (ignoring feature)
'-no-bypass-delay' is not a recognized feature for this target (ignoring feature)
'-no-bypass-delay-blend' is not a recognized feature for this target (ignoring feature)
'-no-bypass-delay-mov' is not a recognized feature for this target (ignoring feature)
'-no-bypass-delay-shuffle' is not a recognized feature for this target (ignoring feature)
'-pad-short-functions' is not a recognized feature for this target (ignoring feature)
'-pclmul' is not a recognized feature for this target (ignoring feature)
'-pconfig' is not a recognized feature for this target (ignoring feature)
'-pku' is not a recognized feature for this target (ignoring feature)
'-popcnt' is not a recognized feature for this target (ignoring feature)
'-ppx' is not a recognized feature for this target (ignoring feature)
'-prefer-128-bit' is not a recognized feature for this target (ignoring feature)
'-prefer-256-bit' is not a recognized feature for this target (ignoring feature)
'-prefer-mask-registers' is not a recognized feature for this target (ignoring feature)
'-prefer-movmsk-over-vtest' is not a recognized feature for this target (ignoring feature)
'-prefer-no-gather' is not a recognized feature for this target (ignoring feature)
'-prefer-no-scatter' is not a recognized feature for this target (ignoring feature)
'-prefetchi' is not a recognized feature for this target (ignoring feature)
'-prfchw' is not a recognized feature for this target (ignoring feature)
'-ptwrite' is not a recognized feature for this target (ignoring feature)
'-push2pop2' is not a recognized feature for this target (ignoring feature)
'-raoint' is not a recognized feature for this target (ignoring feature)
'-rdpid' is not a recognized feature for this target (ignoring feature)
'-rdpru' is not a recognized feature for this target (ignoring feature)
'-rdrnd' is not a recognized feature for this target (ignoring feature)
'-rdseed' is not a recognized feature for this target (ignoring feature)
'-retpoline' is not a recognized feature for this target (ignoring feature)
'-retpoline-external-thunk' is not a recognized feature for this target (ignoring feature)
'-retpoline-indirect-branches' is not a recognized feature for this target (ignoring feature)
'-retpoline-indirect-calls' is not a recognized feature for this target (ignoring feature)
'-rtm' is not a recognized feature for this target (ignoring feature)
'-sahf' is not a recognized feature for this target (ignoring feature)
'-sbb-dep-breaking' is not a recognized feature for this target (ignoring feature)
'-serialize' is not a recognized feature for this target (ignoring feature)
'-seses' is not a recognized feature for this target (ignoring feature)
'-sgx' is not a recognized feature for this target (ignoring feature)
'-sha' is not a recognized feature for this target (ignoring feature)
'-sha512' is not a recognized feature for this target (ignoring feature)
'-shstk' is not a recognized feature for this target (ignoring feature)
'-slow-lea' is not a recognized feature for this target (ignoring feature)
'-slow-pmaddwd' is not a recognized feature for this target (ignoring feature)
'-slow-pmulld' is not a recognized feature for this target (ignoring feature)
'-slow-shld' is not a recognized feature for this target (ignoring feature)
'-slow-two-mem-ops' is not a recognized feature for this target (ignoring feature)
'-slow-unaligned-mem-16' is not a recognized feature for this target (ignoring feature)
'-slow-unaligned-mem-32' is not a recognized feature for this target (ignoring feature)
'-sm3' is not a recognized feature for this target (ignoring feature)
'-soft-float' is not a recognized feature for this target (ignoring feature)
'-sse3' is not a recognized feature for this target (ignoring feature)
'-sse4.1' is not a recognized feature for this target (ignoring feature)
'-sse4.2' is not a recognized feature for this target (ignoring feature)
'-sse4a' is not a recognized feature for this target (ignoring feature)
'-sse-unaligned-mem' is not a recognized feature for this target (ignoring feature)
'-ssse3' is not a recognized feature for this target (ignoring feature)
'-tbm' is not a recognized feature for this target (ignoring feature)
'-tsxldtrk' is not a recognized feature for this target (ignoring feature)
'-tuning-fast-imm-vector-shift' is not a recognized feature for this target (ignoring feature)
'-uintr' is not a recognized feature for this target (ignoring feature)
'-use-glm-div-sqrt-costs' is not a recognized feature for this target (ignoring feature)
'-use-slm-arith-costs' is not a recognized feature for this target (ignoring feature)
'-usermsr' is not a recognized feature for this target (ignoring feature)
'-vaes' is not a recognized feature for this target (ignoring feature)
'-vpclmulqdq' is not a recognized feature for this target (ignoring feature)
'-waitpkg' is not a recognized feature for this target (ignoring feature)
'-wbnoinvd' is not a recognized feature for this target (ignoring feature)
'-widekl' is not a recognized feature for this target (ignoring feature)
'-xop' is not a recognized feature for this target (ignoring feature)
'-xsave' is not a recognized feature for this target (ignoring feature)
'-xsavec' is not a recognized feature for this target (ignoring feature)
'-xsaveopt' is not a recognized feature for this target (ignoring feature)
'-xsaves' is not a recognized feature for this target (ignoring feature)
'-zu' is not a recognized feature for this target (ignoring feature)
'x86-64' is not a recognized processor for this target (ignoring processor)
Has anyone seen these errors before? Where do they come from? I think it may have come from accidentally specifying the wrong target for a dependency, but I dont know.
Here is the relevant subsection of my build.zig:
pub fn buildRelease(
b: *std.Build,
step: *std.Build.Step,
) void {
const targets: []const std.Target.Query = &.{
.{ .cpu_arch = .x86_64, .os_tag = .linux, .abi = .musl },
// TODO: re-enable windows
// .{ .cpu_arch = .x86_64, .os_tag = .windows, .abi = .gnu },
.{ .cpu_arch = .aarch64, .os_tag = .linux, .abi = .musl },
};
for (targets) |target| {
const options: BuildOptions = .{
.target = b.resolveTargetQuery(target),
.optimize = .ReleaseSafe,
};
const gatorcat_module = b.addModule("gatorcat", .{
.root_source_file = b.path("src/module/root.zig"),
.target = options.target,
.optimize = options.optimize,
});
// depend on the npcap sdk if we are building for windows
switch (options.target.result.os.tag) {
.windows => {
if (b.lazyDependency("npcap", .{
.target = options.target,
.optimize = options.optimize,
})) |npcap| {
gatorcat_module.addImport("npcap", npcap.module("npcap"));
}
},
else => {},
}
const flags_module = b.dependency("flags", .{
.target = options.target,
.optimize = options.optimize,
}).module("flags");
const zbor_module = b.dependency("zbor", .{
.target = options.target,
.optimize = options.optimize,
}).module("zbor");
const zenoh_module = b.dependency("zenoh", .{
.target = options.target,
.optimize = options.optimize,
}).module("zenoh");
buildCli(
b,
step,
.{ .target = options.target, .optimize = options.optimize },
gatorcat_module,
flags_module,
zenoh_module,
zbor_module,
.{ .override = .{ .custom = target.zigTriple(b.allocator) catch @panic("oom") } },
);
}
}