fn versionCheck(comptime glibc_version: std.SemanticVersion) type

The return type is type to force comptime function call execution. TODO: https://github.com/ziglang/zig/issues/425 If not linking libc, returns struct{pub const ok = false;} If linking musl libc, returns struct{pub const ok = true;} If linking gnu libc (glibc), the ok value will be true if the target version is greater than or equal to glibc_version. If linking a libc other than these, returns false.

Parameters

glibc_version: std.SemanticVersion,

Values

ok
type