Consider whether this should be part of `zig_library` or a dedicated `zig_shared_library` instead. Consider how `zig_library` should behave compared to `cc_library`'s behavior depending on the [`linkstatic` attribute and `fully_static_link` feature](https://bazel.build/reference/be/c-cpp#cc_library.linkstatic). Consider [what take-away from the transitive C/C++ libraries discussion](https://docs.google.com/document/d/1-tv0_79zGyBoDmaP_pYWaBVUwHUteLpAs90_rUl-VY8/edit#heading=h.jwrigiapdkr2) should be applied here.