We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zigにcomptimeが2回評価されるという不具合(ziglang/zig#5380 )があるため,それを回避するために,genConfigにダミーのパラメータを渡している。
genConfig
// genConfigにvoid型のパラメータを渡すのは,Zigコンパイラの不具合の回 // 避のため(これがないと,genConfigが2回実行される). pub fn genConfig(comptime dummy: void) type { comptime var cfg = CfgData{}; target.configuration(&cfg); configuration(&cfg); return GenCfgData(&cfg); }
The text was updated successfully, but these errors were encountered:
hiroakitakada
No branches or pull requests
Zigにcomptimeが2回評価されるという不具合(ziglang/zig#5380 )があるため,それを回避するために,
genConfig
にダミーのパラメータを渡している。The text was updated successfully, but these errors were encountered: