Stephen Gregoratto
285970982a
Add illumos OS tag
...
- Adds `illumos` to the `Target.Os.Tag` enum. A new function,
`isSolarish` has been added that returns true if the tag is either
Solaris or Illumos. This matches the naming convention found in Rust's
`libc` crate[1].
- Add the tag wherever `.solaris` is being checked against.
- Check for the C pre-processor macro `__illumos__` in CMake to set the
proper target tuple. Illumos distros patch their compilers to have
this in the "built-in" set (verified with `echo | cc -dM -E -`).
Alternatively you could check the output of `uname -o`.
Right now, both Solaris and Illumos import from `c/solaris.zig`. In the
future it may be worth putting the shared ABI bits in a base file, and
mixing that in with specific `c/solaris.zig`/`c/illumos.zig` files.
[1]: 6e02a329a2/src/unix/solarish
2023-10-02 15:31:49 -06:00
..
2023-09-19 15:15:05 +03:00
2023-09-29 18:50:37 -04:00
2023-09-30 11:38:56 -06:00
2023-06-24 16:56:39 -07:00
2023-10-02 15:31:49 -06:00
2023-10-02 15:31:49 -06:00
2023-06-24 16:56:39 -07:00
2023-07-25 11:03:11 -07:00
2023-10-02 15:31:49 -06:00
2023-09-02 16:58:03 +12:00
2023-09-06 19:06:32 +03:00
2023-09-28 14:16:39 +03:00
2023-09-27 11:24:28 -07:00
2023-09-13 18:24:59 -04:00
2023-09-29 18:09:47 +13:00
2023-09-07 21:56:57 +03:00
2023-06-24 16:56:39 -07:00
2023-09-06 11:14:24 +03:00
2023-10-02 15:31:49 -06:00
2023-09-27 11:24:28 -07:00
2023-06-27 00:51:06 -07:00
2023-09-19 09:37:53 -07:00
2023-09-06 19:06:32 +03:00
2023-07-26 08:19:52 -05:00
2023-06-24 16:56:39 -07:00
2022-01-01 12:47:08 +00:00
2023-06-24 16:56:39 -07:00
2023-06-24 16:56:39 -07:00
2023-10-02 15:31:49 -06:00
2023-09-24 15:49:56 -07:00
2023-09-29 13:42:38 -07:00
2023-06-16 13:44:09 -07:00
2023-04-21 23:08:48 -04:00
2023-08-29 16:00:31 -04:00
2023-06-24 16:56:39 -07:00
2023-07-21 19:56:46 -04:00
2023-07-03 13:58:03 -04:00
2023-04-22 13:09:15 +03:00
2023-04-28 13:24:43 -07:00
2023-09-24 02:47:21 +01:00
2023-08-24 22:38:47 -07:00
2023-10-02 15:31:49 -06:00
2023-08-11 18:58:40 -07:00
2023-09-02 00:18:53 +02:00
2023-02-22 00:11:20 +11:00
2023-09-14 11:03:15 -07:00
2023-05-22 16:11:06 +02:00
2023-06-25 14:51:03 -07:00
2023-10-02 15:31:49 -06:00
2023-08-06 15:18:50 -04:00
2023-10-02 15:31:49 -06:00
2023-08-06 15:18:50 -04:00
2023-09-28 21:48:39 +00:00
2021-09-01 17:54:06 -07:00
2023-08-06 15:18:50 -04:00
2023-09-27 11:24:28 -07:00
2023-10-02 15:31:49 -06:00
2023-08-06 15:18:50 -04:00
2023-06-10 20:42:30 -07:00
2023-08-06 15:18:50 -04:00
2023-09-26 17:16:40 -04:00
2023-01-11 15:39:48 -08:00
2023-06-24 16:56:39 -07:00
2023-09-13 18:24:59 -04:00
2023-07-24 10:23:51 -07:00
2023-08-28 17:41:37 -07:00
2023-06-19 12:34:42 -07:00
2023-08-18 11:55:29 +02:00
2023-09-27 11:24:28 -07:00
2023-09-28 15:40:08 +00:00
2023-09-27 11:24:28 -07:00
2023-09-24 15:49:56 -07:00
2023-09-06 11:14:24 +03:00
2023-02-18 19:17:21 -07:00
2023-10-02 15:31:49 -06:00
2023-06-24 16:56:39 -07:00
2023-06-30 23:23:03 -04:00
2023-06-22 02:03:53 -07:00
2023-07-24 12:58:19 -07:00
2023-10-02 15:31:49 -06:00
2023-07-25 13:51:22 +01:00
2023-06-24 16:56:39 -07:00
2023-06-19 12:34:42 -07:00
2023-06-24 16:56:39 -07:00
2023-06-17 13:17:34 -07:00
2023-09-27 01:37:25 +03:00
2023-06-27 00:51:06 -07:00
2023-06-24 16:56:39 -07:00
2023-09-19 09:37:32 -07:00
2023-09-14 11:03:15 -07:00
2023-09-08 21:55:14 +03:00
2023-10-02 15:31:49 -06:00
2023-09-23 20:25:57 +00:00
2023-10-02 15:31:49 -06:00
2023-07-07 11:57:09 -07:00
2023-09-19 15:15:05 +03:00
2023-06-24 16:56:39 -07:00
2023-08-15 09:11:59 -04:00
2023-09-29 00:32:43 -07:00
2023-06-24 16:56:39 -07:00
2023-06-19 12:34:42 -07:00
2023-06-24 16:56:39 -07:00