Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo wasix suggests incorrect libc replacement #60

Open
themighty1 opened this issue Jan 20, 2025 · 0 comments
Open

cargo wasix suggests incorrect libc replacement #60

themighty1 opened this issue Jan 20, 2025 · 0 comments

Comments

@themighty1
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant