PengZheng commented on PR #600: URL: https://github.com/apache/celix/pull/600#issuecomment-1659776999
The default build produced a 200K shared object after stripping. After adding `corrosion_add_target_local_rustflags(rust_bundle_activator "-Cprefer-dynamic")`, a 14K shared object resulted. If we want to have classical Celix bundle written in Rust, `-Cprefer-dynamic` may be preferable over default static linking. Another way of supporting Rust bundle is to add support for static/linked libraries bundles first(#94). It's known that CppMicroServices has such support: https://docs.cppmicroservices.org/en/stable/framework/doc/static_bundles.html IMO, static bundle is a nice-to-have feature even for C/C++ development. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org