Skip to content

error[E0599]: no method named 'unload_process_handlers' found for struct 'wasmtime::Engine' when building yara-x v1.7.0 for 32 bit #451

@gowtham-cyber-max

Description

@gowtham-cyber-max

I’m trying to build a project that depends on yara-x = "1.7.0".
When compiling for 32-bit (i686-pc-windows-msvc), the build fails because wasmtime::Engine no longer provides the method unload_process_handlers.

error[E0599]: no method namedunload_process_handlersfound for structwasmtime::Enginein the current scope --> ...\yara-x-1.7.0\src\wasm\mod.rs:801:28 | 801 | ENGINE.take().unwrap().unload_process_handlers() | ^^^^^^^^^^^^^^^^^^^^^^^ method not found inwasmtime::Engine`

For more information about this error, try rustc --explain E0599.
error: could not compile yara-x (lib) due to 1 previous error
`

cargo build --release --target i686-pc-windows-msvc

steps to reproduce :

  1. cargo add yara_x
  2. cargo build --release --target i686-pc-windows-msvc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions