You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a linkmodestring_flag with 2 possible values ["zig" (default), "cc"] and use that in zig_build_impl to perform the linking accordingly.
When linkmode = "cc", we always produce a static library and use cc_common.link to perform the link, letting rules_cc deal with linker_inputs from transitive C deps.
When zig is used, nothing changes, zig is used to produce the final artifact and linker inputs of transitive C deps are collected and added to the compiler CLI arguments just like it is the case today.