Skip to content

Unresolved import nix::fcntl in WASI #2016

Open
@antoniomuso

Description

@antoniomuso

I get the following error:

error[E0432]: unresolved import `nix::fcntl`
 --> src/lib.rs:7:10
  |
7 | use nix::fcntl::{flock, FlockArg};
  |          ^^^^^ could not find `fcntl` in `nix`

When I try to compile with cargo build --target wasm32-wasi

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions