CryZe opened issue #3672:
When compiling wasmtime 0.33 on aarch64 Linux it fails compiling with:
error[E0433]: failed to resolve: use of undeclared crate or module `rustix` Error: --> /cargo/registry/src/github.com-1ecc6299db9ec823/wasmtime-jit-0.33.0/src/code_memory.rs:60:13 | 60 | rustix::process::membarrier( | ^^^^^^ use of undeclared crate or module `rustix` error[E0433]: failed to resolve: use of undeclared crate or module `rustix` Error: --> /cargo/registry/src/github.com-1ecc6299db9ec823/wasmtime-jit-0.33.0/src/code_memory.rs:61:17 | 61 | rustix::process::MembarrierCommand::RegisterPrivateExpeditedSyncCore, | ^^^^^^ use of undeclared crate or module `rustix` error[E0433]: failed to resolve: use of undeclared crate or module `rustix` Error: --> /cargo/registry/src/github.com-1ecc6299db9ec823/wasmtime-jit-0.33.0/src/code_memory.rs:174:17 | 174 | rustix::process::membarrier( | ^^^^^^ use of undeclared crate or module `rustix` error[E0433]: failed to resolve: use of undeclared crate or module `rustix` Error: --> /cargo/registry/src/github.com-1ecc6299db9ec823/wasmtime-jit-0.33.0/src/code_memory.rs:175:21 | 175 | rustix::process::MembarrierCommand::PrivateExpeditedSyncCore, | ^^^^^^ use of undeclared crate or module `rustix`
It might be related to the specific feature combination
default-features = false, features = ["cranelift", "parallel-compilation"]
CryZe commented on issue #3672:
It seems like rustix is an optional dependency:
https://github.com/bytecodealliance/wasmtime/blob/894a4d8301aa8dd72f9a74079a6dc5fb2e6b2e92/crates/jit/Cargo.toml#L32but it is "unconditionally" used here:
https://github.com/bytecodealliance/wasmtime/blob/894a4d8301aa8dd72f9a74079a6dc5fb2e6b2e92/crates/jit/src/code_memory.rs#L171-L178
alexcrichton closed issue #3672:
When compiling wasmtime 0.33 on aarch64 Linux it fails compiling with:
error[E0433]: failed to resolve: use of undeclared crate or module `rustix` Error: --> /cargo/registry/src/github.com-1ecc6299db9ec823/wasmtime-jit-0.33.0/src/code_memory.rs:60:13 | 60 | rustix::process::membarrier( | ^^^^^^ use of undeclared crate or module `rustix` error[E0433]: failed to resolve: use of undeclared crate or module `rustix` Error: --> /cargo/registry/src/github.com-1ecc6299db9ec823/wasmtime-jit-0.33.0/src/code_memory.rs:61:17 | 61 | rustix::process::MembarrierCommand::RegisterPrivateExpeditedSyncCore, | ^^^^^^ use of undeclared crate or module `rustix` error[E0433]: failed to resolve: use of undeclared crate or module `rustix` Error: --> /cargo/registry/src/github.com-1ecc6299db9ec823/wasmtime-jit-0.33.0/src/code_memory.rs:174:17 | 174 | rustix::process::membarrier( | ^^^^^^ use of undeclared crate or module `rustix` error[E0433]: failed to resolve: use of undeclared crate or module `rustix` Error: --> /cargo/registry/src/github.com-1ecc6299db9ec823/wasmtime-jit-0.33.0/src/code_memory.rs:175:21 | 175 | rustix::process::MembarrierCommand::PrivateExpeditedSyncCore, | ^^^^^^ use of undeclared crate or module `rustix`
It might be related to the specific feature combination
default-features = false, features = ["cranelift", "parallel-compilation"]
Last updated: Nov 22 2024 at 16:03 UTC