-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add options to allow generating statically linked binaries #48
Conversation
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
Hello, I am a code review bot on flows.network. Here are my reviews of code commits in this PR. Overall Summary: There are several potential problems and errors to address. In the The addition of support for musl libc lacks context or explanation, and it would be valuable to provide more information or comments. The changes related to clippy checks also lack context and do not include tests. The changes related to documenting build environment variables seem to be helpful, but the removal of versioning information in the In summary, the pull request provides the requested functionality but should address the potential problems and errors. The changes could benefit from more context, explanation, tests, and consistent formatting. DetailsCommit 48e2225083d7c74b9ece7cad504699a4cecab070Key Changes:
Potential Problems:
Commit ede4670c5dd776a5b2b9cdcd633b43b7fd0d22caKey changes:
Potential problems:
Overall, the code changes seem to implement the requested functionality, but it would be beneficial to address the potential problems mentioned above and provide more context or explanation for the introduced changes. Commit 3e10dda1ed904c37dbd0a27867524afebddcfd19Key Changes:
Potential Problems:
Overall, the patch seems to be a small fix for clippy checks, but it lacks sufficient information and context to fully understand its purpose and potential impact. Commit ee6ed289b1b7394ebf89815f1da80b0f73b6ac7bKey changes:
Potential problems:
Overall, the changes seem to be helpful for users who want to build and use the WasmEdge Rust SDK. However, the removal of versioning information in the |
@apepkuss PTAL :-) |
7fd0e01
to
de8c512
Compare
flows summarize |
Hello, I am a code review bot on flows.network. Here are my reviews of code commits in this PR. Overall, the pull request titled "Add options to allow generating statically linked binaries" introduces several changes to the codebase. While the additions are valuable, there are some potential issues and areas for improvement that need to be addressed. Potential issues:
Important findings:
In summary, while the pull request adds useful options for generating statically linked binaries and includes enhancements for the bindgen generation process and linking libraries, there are several potential issues and areas for improvement that need to be addressed before merging the changes. DetailsCommit 48e2225083d7c74b9ece7cad504699a4cecab070Key changes:
Potential problems:
Overall, the code changes add options for generating statically linked binaries, but there are several potential issues and areas for improvement. Commit 6ab6c9bccc7873588273f4c83530926abe8a0cb8Key changes:
Potential problems:
Commit c16b76b14fdb76d0e9a68246650f32b9126d313bKey changes in this patch:
Potential problems to investigate:
Commit de8c512f1e83856cbb74263684185dca42e67899Key changes:
Potential problems:
|
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
de8c512
to
ee6ed28
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 for the contributions!
It is currently not possible to generate statically linked binaries since dependent libraries are dynamically linked (this is the default behaviour of
rustc-link-lib
).Moreover,
rust-bindgen
fails to run in alpine when theruntime
feature is enabled, and fails to run with static or dynamic linking due to issues withcrt-static
. See rust-lang/rust-bindgen#2333 (comment).This PR add:
rust-bindgen
using environment variables.0.13.x
release series. WasmEdge#2711.