Skip to content

Commit

Permalink
Disable the unexpected_cfgs warning for now.
Browse files Browse the repository at this point in the history
Telling rustc about `doc_cfg` would require a build.rs script, which
I'd rather not add if we don't otherwise need one. So for now, just
disable this warning.
  • Loading branch information
sunfishcode committed May 18, 2024
1 parent 02653ca commit 30c227a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#![feature(strict_provenance)]
#![feature(exposed_provenance)]
#![deny(fuzzy_provenance_casts, lossy_provenance_casts)]
#![allow(unexpected_cfgs)]
#![no_std]

#[cfg(all(feature = "alloc", not(feature = "rustc-dep-of-std")))]
Expand Down

0 comments on commit 30c227a

Please sign in to comment.