| author | |
| committer | |
| log | 309ff9c34ea28b89a02ef69b11c610cd5e062ca2 |
| tree | 125e32132e7e247a1b9529bc6f372753cfd921ac |
| parent | 46042170cba21cd91a090c20c2d5c6840648a0ad |
| signature |
1 files changed, 7 insertions(+), 0 deletions(-)
lib/std/Target.zig+7| ... | ... | @@ -2068,6 +2068,13 @@ pub inline fn isDarwinLibC(target: Target) bool { |
| 2068 | 2068 | }; |
| 2069 | 2069 | } |
| 2070 | 2070 | |
| 2071 | pub inline fn isFreeBSDLibC(target: Target) bool { | |
| 2072 | return switch (target.abi) { | |
| 2073 | .none, .eabihf => target.os.tag == .freebsd, | |
| 2074 | else => false, | |
| 2075 | }; | |
| 2076 | } | |
| 2077 | ||
| 2071 | 2078 | pub inline fn isWasiLibC(target: Target) bool { |
| 2072 | 2079 | return target.os.tag == .wasi and target.abi.isMusl(); |
| 2073 | 2080 | } |