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
In add_default_flags(), the presence of feature crt-static causes -static to be supplied to the compiler iff it's gcc; clang doesn't get the same treatment.
I know that cc itself doesn't compile without -c so the presence of -static makes no difference there, but if a downstream library or crate uses cc to manually get a compiler invocation and runs that without -c to generate an executable itself in build.rs (and some do), it matters.
I can easily open a PR to do the same under clang, but given the subtleties of how much linker-related stuff this crate should be doing to begin with I preferred to first open an issue.