Skip to content

src/unix/hermit/ is dead code as hermit is no longer cfg(unix) #3318

Closed
@egrimley-arm

Description

@egrimley-arm

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.)

Metadata

Metadata

Assignees

Labels

C-bugCategory: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions