bytecodealliance / bytecodealliance/wasi-nn

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

Open
#105 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
55
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Following [the guide](https://github.com/bytecodealliance/wasi-nn/tree/main/rust#generation) @ latest commit([2e36f6b](https://github.com/bytecodealliance/wasi-nn/commit/2e36f6b5ee4964a9a4523cbf0d45969193ebde07)) on main brach to create *[src/generated.rs](https://github.com/bytecodealliance/wasi-nn/blob/main/rust/src/generated.rs)*, met an error:

```log
...

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.
https://github.com/bytecodealliance/wasi-nn/blob/2e36f6b5ee4964a9a4523cbf0d45969193ebde07/rust/scripts/regenerate-bindings-from-witx.sh#L28

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.