Target-feature=+crt-static causing proc-macros error

I am using "-C target-feature=+crt-static" (with musl) and while compiling dependencies, I am getting:

the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type

My project is in fact NOT a proc-macro crate type, but obviously some of my dependencies are. Any idea what might be causing this?

rustc 1.80.0-nightly (although happens with 1.78 nightly as well).

Trying a few different architectures, all musl.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.