libc icon indicating copy to clipboard operation
libc copied to clipboard

Haiku bsd

Open nielx opened this issue 1 year ago • 1 comments

Description

Haiku implements various parts of the (non-POSIX) BSD API. This moves it to a separate file, for easier future maintenance. It also adds some missing functionality that is part of other platforms and that may be useful for other crates.

Note that this synchronizes with Haiku R1 Beta 5, which is the latest relaase.

Sources

See https://github.com/haiku/haiku/tree/r1beta5/headers/compatibility/bsd/ for all the headers that match up with the ones in the bsd.rs file.

Checklist

  • [x] Relevant tests in libc-test/semver have been updated
  • [x] No placeholder or unstable values like *LAST or *MAX are included (see #3131)
  • [x] Tested locally (cd libc-test && cargo test --target mytarget); especially relevant for platforms that may not be checked in CI

Note: semver is not used by Haiku (yet), so N/A. The test currently fails, but in a panic! in the garando_syntax crate. The panic is the same before and after the changes.

nielx avatar Dec 25 '24 17:12 nielx

r? @tgross35

rustbot has assigned @tgross35. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar Dec 25 '24 17:12 rustbot

Looks GH allowed me to just force push the small change and a rebase, let's get this in 👍

tgross35 avatar Apr 25 '25 03:04 tgross35