Skip to content

cargo wasix suggests incorrect libc replacement #60

Description

@themighty1

When compiling a project with a libc dependecy, cargo wasix suggests replacing it with

warn: failed to check dependencies: Found incompatible crates in dependencies (of dependencies): libc

To fix this add the following to 'Cargo.toml':
[patch.crates-io]
libc = { git = "https://github.com/wasix-org/libc", branch = "master" }

But the master branch at https://github.com/wasix-org/libc is an unpatched upstream version (without the wasix patches).
Is this an error? Shouldn't it be suggecting another branch with wasix patches like e.g. [wasix-0.2.155](https://github.com/wasix-org/libc/tree/wasix-0.2.155)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions