wasmtime icon indicating copy to clipboard operation
wasmtime copied to clipboard

Failed to build for `i686-pc-windows-msvc`

Open Berrysoft opened this issue 2 years ago • 4 comments

File winx32.rs is outdated.

error[E0433]: failed to resolve: use of undeclared crate or module `cranelift_codegen`
 --> C:\Users\VssAdministrator\.cargo\registry\src\github.com-1ecc6299db9ec823\wasmtime-jit-0.38.1\src\unwind\winx32.rs:4:5
  |
4 | use cranelift_codegen::isa::{unwind::UnwindInfo, TargetIsa};
  |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cranelift_codegen`

error[E0432]: unresolved import `crate::unwind::UnwindRegistration`
 --> C:\Users\VssAdministrator\.cargo\registry\src\github.com-1ecc6299db9ec823\wasmtime-jit-0.38.1\src\code_memory.rs:3:5
  |
3 | use crate::unwind::UnwindRegistration;
  |     ^^^^^^^^^^^^^^^------------------
  |     |              |
  |     |              help: a similar name exists in the module: `UnwindRegistry`
  |     no `UnwindRegistration` in `unwind`

Some errors have detailed explanations: E0432, E0433.

Berrysoft avatar Jul 12 '22 14:07 Berrysoft

This is not a supported platform at this time, primarily because Cranelift does not have an i686 backend. I've tagged this for a feature request for platform support though.

alexcrichton avatar Jul 12 '22 14:07 alexcrichton

OK, if it doesn't support i686, a compile_error!("unsupported platform"); would be nice.

Berrysoft avatar Jul 12 '22 14:07 Berrysoft

Same as #3634

kadiwa4 avatar Jul 13 '22 10:07 kadiwa4

Since #5226 this throws a compile error.

kadiwa4 avatar Nov 11 '22 09:11 kadiwa4

The compile error was removed in #5627.

kadiwa4 avatar Jan 26 '23 00:01 kadiwa4