dantecatalfamo / zig-dns

Experimental DNS library implemented in zig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not build "no field or member function named 'standardReleaseOptions'"

bortzmeyer opened this issue · comments

% zig build
/home/stephane/src/Zig/DNS/zig-dns/build.zig:12:19: error: no field or member function named 'standardReleaseOptions' in 'Build'
    const mode = b.standardReleaseOptions();
                 ~^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/zig/zig-linux-x86_64-0.12.0-dev.1245+a07f288eb/lib/std/Build.zig:1:1: note: struct declared here
const std = @import("std.zig");
^~~~~
referenced by:
    runBuild__anon_7141: /usr/local/zig/zig-linux-x86_64-0.12.0-dev.1245+a07f288eb/lib/std/Build.zig:1882:27
    steps__anon_6965: /usr/local/zig/zig-linux-x86_64-0.12.0-dev.1245+a07f288eb/lib/build_runner.zig:969:29
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

I haven't been keeping this library updated with the latest zig for a couple months. It should be a pretty easy fix, I can try to do it soon 🙂

Updated! It builds with zig master now 😀

Yes, it works. Thanks.

May be a word somewhere about how to compile it (if you want to simply do zig build, you need to git clone zig-networkfirst)?