Building with cargo build --release --target wasm32-wasip1 fails when compiling the wasi_mio crate:
error[E0583]: file not found for module `tcp`
--> /home/nsen/.cargo/git/checkouts/wasi_mio-40a99318049e0aae/943dfdb/src/sys/wasi/mod.rs:39:5
|
39 | pub(crate) mod tcp;
| ^^^^^^^^^^^^^^^^^^^
|
= help: to create the module `tcp`, create file "/home/nsen/.cargo/git/checkouts/wasi_mio-40a99318049e0aae/943dfdb/src/sys/wasi/tcp.rs" or "/home/nsen/.cargo/git/checkouts/wasi_mio-40a99318049e0aae/943dfdb/src/sys/wasi/tcp/mod.rs"
= note: if there is a `mod tcp` elsewhere in the crate already, import it with `use crate::...` instead
error[E0583]: file not found for module `udp`
--> /home/nsen/.cargo/git/checkouts/wasi_mio-40a99318049e0aae/943dfdb/src/sys/wasi/mod.rs:42:5
|
42 | pub(crate) mod udp;
| ^^^^^^^^^^^^^^^^^^^
|
= help: to create the module `udp`, create file "/home/nsen/.cargo/git/checkouts/wasi_mio-40a99318049e0aae/943dfdb/src/sys/wasi/udp.rs" or "/home/nsen/.cargo/git/checkouts/wasi_mio-40a99318049e0aae/943dfdb/src/sys/wasi/udp/mod.rs"
= note: if there is a `mod udp` elsewhere in the crate already, import it with `use crate::...` instead
error[E0428]: the name `tcp` is defined multiple times
--> /home/nsen/.cargo/git/checkouts/wasi_mio-40a99318049e0aae/943dfdb/src/sys/wasi/mod.rs:39:5
|
27 | pub(crate) mod tcp {
| ------------------ previous definition of the module `tcp` here
...
39 | pub(crate) mod tcp;
| ^^^^^^^^^^^^^^^^^^^ `tcp` redefined here
...
...
...
Bug:
Building with
cargo build --release --target wasm32-wasip1
fails when compiling the wasi_mio crate:This happens on both the
dev
andmain
branches.Workaround:
None yet.