bytecodealliance / bytecodealliance/wasm-tools

Conflicting imports of wasi cause wasm-component-ld error.

Open
#2,047 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
1.8k
Forks
351
Avg merge
16h 57m
Merged PRs (30d)
38

Description

Conflicting version of wasi will cause builds to crash. As more common crates are importing `wasi` this problem will grow if not addressed. In my particular case newer version of `tempfile` and `uuid` depended on a newer version of `getrandom` which depended on `v0.13.3+wasi-0.2.2`. This conflicted with my crate's direct dependency and the dependency of `wstd` on `v0.14.1+wasi-0.2.3`.

[working_tree.txt](https://github.com/user-attachments/files/18741633/working_tree.txt)

[not_working_tree.txt](https://github.com/user-attachments/files/18741643/not_working_tree.txt)

[conflicting_wasi_error.txt](https://github.com/user-attachments/files/18741640/conflicting_wasi_error.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.