Skip to content

Commit 5e02f52

Browse files
committed
Suppress unknown_lints warning on old rustc
warning: unknown lint: `unexpected_cfgs` --> build.rs:37:10 | 37 | #![allow(unexpected_cfgs)] | ^^^^^^^^^^^^^^^ | = note: `#[warn(unknown_lints)]` on by default
1 parent 2660d30 commit 5e02f52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
// macro API and catching a panic if it isn't available. Enabled on Rust
3535
// 1.57+.
3636

37+
#![allow(unknown_lints)]
3738
#![allow(unexpected_cfgs)]
3839

3940
use std::env;

0 commit comments

Comments
 (0)