You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenBSD has partial support in the Swift toolchain. This PR adds
speculative support for it based on the assumption that what works with
FreeBSD will generally also work with OpenBSD. The big differences:
1. We need to include `<util.h>` instead of `<libutil.h>`,
2. `/usr/bin/tar` does not support writing PKZIP files (so we look for
the optional `/usr/bin/zip` instead), and
3. OpenBSD has no way to determine the path to the current executable,
so we naïvely assume `argv[0]` is correct.
These changes are speculative and have not been tested.
Partially resolves#888.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
0 commit comments