Skip to content

MIPS64: error[E0531]: cannot find unit struct, unit variant or constant ENOTSUP in crate libc #91976

Closed
@Grommish

Description

@Grommish

Code

error[E0531]: cannot find unit struct, unit variant or constant `ENOTSUP` in crate `libc`
  --> compiler/rustc_data_structures/src/flock.rs:59:57
   |
59 |                 matches!(err.raw_os_error(), Some(libc::ENOTSUP) | Some(libc::ENOSYS))
   |                                                         ^^^^^^^ not found in `libc`

Meta

rustc --version --verbose:

./rustc --version --verbose
rustc 1.56.1-nightly
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.56.1-nightly
LLVM version: 13.0.0

Error output

<output>
Backtrace

<backtrace>

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions