Skip to content

Issue with wit-bindgen version 0.21/0.22  #11

@matsbror

Description

@matsbror

I am on cargo/rust v 1.77.2

When building the example with wit-bindgen v 0.21 as from the repo the following error appears:

   Compiling hello-wasi-http v0.0.0 (/home/mats/microservices/hello-wasi-http)
error[E0425]: cannot find function `run_ctors_once` in crate `wit_bindgen_rt`
    --> src/bindings.rs:8309:25
     |
8309 |         wit_bindgen_rt::run_ctors_once();
     |                         ^^^^^^^^^^^^^^ not found in `wit_bindgen_rt`

For more information about this error, try `rustc --explain E0425`.

The same error happens with wit-bindgen v 0.22 but not with v0.23 or 0.24. I can then build without errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions