-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
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
support rust async && support https client #107
Conversation
Hello, I am a code review bot on flows.network. Here are my reviews of code commits in this PR. Overall Summary: The pull request includes several key changes, such as support for Rust async and support for HTTPS client. There are potential issues and errors that need to be addressed. In the first pull request, there are potential problems related to the renaming of the "socket" function, modification of the Cargo.toml file, and updates to the examples and modules. The changes to multiple files and the commented-out code in the examples should also be reviewed. In the second pull request, potential problems arise from the bumped version of libquickjs.a and the removal of constants in the binding.rs file. More context and explanations for these changes would be helpful. The third pull request introduces potential problems with changes to multiple files, the large number of insertions and deletions, and the introduction of a new file "src/quickjs_sys/js_promise.rs". The updated and added dependencies should be reviewed, along with the purpose of the new "aho-corasick" dependency. The fourth pull request raises concerns about the absolute path in the .cargo/config.toml file, the use of "println!" statements for debugging purposes, and the presence of commented-out sections in the code. In the fifth pull request, issues arise from the use of "println!" statements, modifications to the fread and fwrite functions, and the lack of support for Rust async or HTTPS client as mentioned in the title. Finally, the sixth pull request sees potential problems due to the absence of tests for the new HTTPS functionality, changes to multiple files, the removal of src/event_loop/poll.rs, changes to the Cargo.toml and Cargo.lock files, and conditional changes related to the "tls" feature. Overall, there are common themes among the pull requests, such as the lack of sufficient explanations, potential issues with dependencies, and the need for proper testing. It would be beneficial to address these issues and provide more context to improve the review process and ensure the quality of the code changes. DetailsCommit 7547923419e957a8a5ad0b2f6207b1f467d0252fKey changes:
Potential problems:
Commit 6309458867ca7357999ae58417fda8c95c07ace8Key Changes:
Potential Problems:
Overall, it would be beneficial to have more context and explanation for the changes made in this patch. Commit 8590011a7c945f951d22b1216eba656b8b51a9e4Key changes:
Potential problems:
Additional Review Comments:
Commit 41c92700ee5450d5f1f0f53cea1ae700d986732cKey changes:
Potential problems:
Overall, the patch contains changes that are mainly related to debugging and target configuration. It would be beneficial to address the potential problems mentioned above before merging the code. Commit ebad9e7487507f9d7e05676772db98c46c265afcKey Changes:
Potential Problems:
Commit e0c237ec7379e49d8c3240cdd2f3ab16876f18bbKey Changes:
Potential Problems:
Overall, the patch introduces HTTPS support and adds a new dependency for handling TLS connections. However, it would be good to address the potential problems mentioned above before merging the changes. Commit e724d981ad3ebe14425d7ca3eb8bd1d8c69cf726Key Changes:
Potential Problems:
Commit b38cf2cae2db76d60831dd7926d8c0dfe40b6e36Key changes:
Potential problems:
Overall, the change seems minor, but it is important to ensure that the relative path resolves correctly and verify the reason behind the change. Commit 74d2016ac8abeda156c0696ec7d19b90b96469dbKey changes:
Potential problems:
Commit 8e3920075a11b4d5e2fe0d90a0763fba394b10f1Key Changes:
Potential Problems:
Commit 4afed4460a0db22be1b16d2bbfc83d328e3cefaeKey Changes:
Potential problems:
Suggestions:
|
5042bb3
to
74d2016
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Only a few minor comments in the code.
.github/workflows/examples.yml
Outdated
sudo mv libwasmedgePluginWasiNN.so /usr/local/lib/wasmedge/ | ||
VERSION=0.13.4 | ||
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | sudo bash -s -- -e all --version=$VERSION --plugins=wasi_nn-tensorflowlite -p /usr/local | ||
wget https://github.com/WasmEdge/WasmEdge/releases/download/0.13.4/WasmEdge-plugin-wasmedge_rustls-$VERSION-ubuntu20.04_x86_64.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use $VERSION instead of the hardcoded version string here?
@L-jasmine hi,I have a question, how to compile QuickJs to libquickjs.a? use wasi-sdk-20? Looking forward to your reply, thanks |
No description provided.