We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
full stack trace:
error: custom attribute panicked --> src/lib.rs:3:1 | 3 | #[deno_bindgen] | ^^^^^^^^^^^^^^^ | = help: message: called `Result::unwrap()` on an `Err` value: Error("EOF while parsing a value", line: 1, column: 0)
repro code:
#[deno_bindgen::deno_bindgen] fn greet() -> i32 { return 42; }
Fixed by deleting bindings.json in project root
bindings.json
The text was updated successfully, but these errors were encountered:
I'm having this issue come up. Deleting bindings.json (and the bindings/bindings.ts) did not solve for me.
error: custom attribute panicked --> src/lib.rs:13:1 | 13 | #[deno_bindgen] | ^^^^^^^^^^^^^^^ | = help: message: not implemented
the fix for me was to remove the '&' from the function signature, and changed
#[deno_bindgen] fn my_init(inp:&i32) {}
to
#[deno_bindgen] fn my_init(inp:i32) {}
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
full stack trace:
repro code:
Fixed by deleting
bindings.json
in project rootThe text was updated successfully, but these errors were encountered: