I published (to a private registry) a crate that contains:
[target.'cfg(unix)'.build-dependencies]
cc = { version = "1.2.6", features = ["parallel"] }
However, attempting to build a project that uses this crate, failed (same error as here).
I changed it to a plain [build-dependencies] instead, up'd the version, published and tried again and it succeeded.
Clearly there's something about target.'cfg(unix)'. it does not like -- but is this intentional or should it be reported? It seems to work fine when building using local paths.