Deno Bindgen
When attempting to follow the deno bindgen documentation I get errors about not being able to parse the cargo output or not being able to find symbols, I am basically following the example folder in the repo.
Is the deno_bindgen project ment to be installed locally as a cargo crate for the project so you can annotate the functions with deno_bindgen? Am I missing something in the documentation? If someone is knowledable about the crate I can post more error information.
Is the deno_bindgen project ment to be installed locally as a cargo crate for the project so you can annotate the functions with deno_bindgen? Am I missing something in the documentation? If someone is knowledable about the crate I can post more error information.
2 Replies
I apologize, but I wasn't able to find the answer to your question in the official Deno documentation. However, based on the information you've provided, it sounds like you might be encountering issues with the setup or usage of
deno_bindgen
.
While I can't provide a solution based on the Deno documentation, I can offer some general advice that might help:
1. Ensure that you have the latest version of deno_bindgen
installed. You can check the version and update it if necessary.
2. Make sure that you are following the steps in the example folder correctly, and that your Rust environment is properly set up.
3. Check that the annotations you are using with deno_bindgen
are correct and that you are using the library as intended.
4. If you are getting errors about not being able to parse the cargo output, ensure that the output from your Rust build process is as expected and that there are no issues with your Rust code or Cargo configuration.
5. If you are getting errors about not being able to find symbols, double-check that the functions you are trying to bind are correctly exposed and that the naming is consistent.
Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of the advice given. If you continue to experience issues, you might want to provide more error information or seek assistance from the community or the maintainers of deno_bindgen
.The README was pointing to 0.9 instead of 0.8.1 that's why it wasn't working. I got this figured out.