Skip to content

Meet an error when executing regenerate-bindings-from-witx #105

@lum1n0us

Description

@lum1n0us

Following the guide @ latest commit(2e36f6b) on main brach to create src/generated.rs, met an error:

...

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 039c272 Bump WASI version to 0.2.4 (#105)
    Updating crates.io index
     Locking 7 packages to latest compatible versions
      Adding rand v0.8.5 (available: v0.9.1)
      Adding wit-bindgen-rt v0.39.0 (available: v0.42.1)
error: package ID specification `witx-bindgen` did not match any packages   //<- HERE 💥 

It seems coming from this line.

cargo build --release -p witx-bindgen

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