theritz
I hereby claim:
- I am virtualritz on github.
- I am theritz (https://keybase.io/theritz) on keybase.
- I have a public key ASDOHUrdRjyKEwcX0YtXMaTFqdxlRHLCCJbSGmtN9er_-Ao
To claim this, I am signing this object:
theritz
I hereby claim:
To claim this, I am signing this object:
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(); |
Here we're assuming you want to have gcc
versions 13
& 14
and
clang
versions 16
& 17
installed side by-side. Adjust to the
versions you're installing.
You may also wish to adjust the priority (the last number in the
update-alternatives
commands below). A higher number means a higher
priority.