TLDR;
Check for env::var("DOCS_RS")
in your build.rs
and omit
linking if it is set.
Where to find this: read the complete About
section on docs.rs
.
Long Version
If you’ve written wrapper crates, e.g. using bindgen
, you may have ran
into this. You have: