As verified with
rustc -Z unstable-options --target=aarch64-unknown-hermit --print target-spec-json | grep unix
hermit had "target-family": "unix" removed between versions 1.39.0 and 1.40.0 of rustc, or between nightly-2019-10-26 and nightly-2019-10-27.
This may well not be a bug in libc but I would like to know how to access the types defined in src/unix/hermit/ when using a recent version of rustc.
(@stlankes made relevant changes to libc and rustc and might be able to help.)