-
Notifications
You must be signed in to change notification settings - Fork 83
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
Simplify build of libvcx.so #575
Conversation
Codecov Report
@@ Coverage Diff @@
## main #575 +/- ##
==========================================
- Coverage 59.78% 59.10% -0.69%
==========================================
Files 139 198 +59
Lines 15620 19046 +3426
Branches 3627 4356 +729
==========================================
+ Hits 9339 11257 +1918
- Misses 2408 3458 +1050
- Partials 3873 4331 +458
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
0f93d66
to
8603a48
Compare
152508b
to
c9baa87
Compare
a2ef382
to
627f06c
Compare
dc76f20
to
526b127
Compare
bdf2363
to
91a7245
Compare
a6070f6
to
6ad0dac
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.
The PR is amazing cleanup, great job @left-arm 👍 I appreciate your patience working on this
Vdr-tools linked as ordinary Rust crate and does not require any additional installation steps. Signed-off-by: Artem Mironov <artem.mironov@absa.africa>
Signed-off-by: Artem Mironov <artem.mironov@absa.africa>
Signed-off-by: Artem Mironov <artem.mironov@absa.africa>
Remove call of libindy::utils::logger::set_default_logger() because it will eventially call EnvLoggerBuilder::new() ... ... .try_init() and try_init() initialize global variable inside create "log". When libindy was linked dynamically, each libvcx.so and libindy.so has a separate instance of that global variable, but with static linking we got double initialization. All calls vcx_set_default_logger() will fail. Signed-off-by: Artem Mironov <artem.mironov@absa.africa>
Signed-off-by: Artem Mironov <artem.mironov@absa.africa>
Signed-off-by: Artem Mironov <artem.mironov@absa.africa>
6ad0dac
to
552e8ec
Compare
Simplify the build of libvcx.
vdr-tools
crates, and updates some dependencies. There are no code changes. Also removed any build scripts (build.rs) sovdr-tools
doesn't define what and how it will link to. It defines its dependencies inCargo.toml
, nothing special here.libvcx
linksvdr-tools
as an ordinary dependency. One don't need to installlibindy.so
.cargo build
is enough to buildlibvcx
.