The current zig_library/zig_shared_library used as a library usually still needs to be used with a header file. Can we add an option to add -femit-h?
At the same time, in many scenarios, zig is not only used as an executable binary but also as a dependency for other libraries (like cc_library). Therefore, it would be more convenient to provide CCInfo directly for other cc_library dependencies, rather than requiring the caller to add a CC provider through Aspects.
I'm trying to introduce some zig into my mobile development projects and am interested in exploring the feasibility of this idea.