| author | |
| committer | |
| log | 32b250109f0f0d0e869e1dd5d5b1efd63408f58f |
| tree | 200b75aa188c5f1aae67206c04247c4db595b703 |
| parent | de13923d694e2074c81849c3b88ec8ec4f35a8d2 |
| signature |
1 files changed, 7 insertions(+), 0 deletions(-)
lib/std/Target.zig+7| ... | ... | @@ -2140,6 +2140,13 @@ pub inline fn isNetBSDLibC(target: *const Target) bool { |
| 2140 | 2140 | }; |
| 2141 | 2141 | } |
| 2142 | 2142 | |
| 2143 | pub inline fn isOpenBSDLibC(target: *const Target) bool { | |
| 2144 | return switch (target.abi) { | |
| 2145 | .none, .eabi, .eabihf => target.os.tag == .openbsd, | |
| 2146 | else => false, | |
| 2147 | }; | |
| 2148 | } | |
| 2149 | ||
| 2143 | 2150 | pub inline fn isWasiLibC(target: *const Target) bool { |
| 2144 | 2151 | return target.os.tag == .wasi and target.abi.isMusl(); |
| 2145 | 2152 | } |