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
.
If you’ve written wrapper crates, e.g. using bindgen
, you may have ran
into this. You have:
use chrono::{offset::Utc, Datelike, Duration}; // 0.4.19 | |
fn main() { | |
let today_naive = Utc::today() | |
.naive_utc() | |
.checked_add_signed(Duration::days(0)) | |
.unwrap(); | |
let num_days_from_monday = today_naive.weekday().num_days_from_monday(); |
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
.
If you’ve written wrapper crates, e.g. using bindgen
, you may have ran
into this. You have:
theritz
I hereby claim:
To claim this, I am signing this object: