Skip to content

Commit 15a1d64

Browse files
committed
Make compatible with -Dwarnings
1 parent f55a5d2 commit 15a1d64

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
@@ -84,6 +84,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool {
8484
.arg("--edition=2018")
8585
.arg("--crate-name=thiserror")
8686
.arg("--crate-type=lib")
87+
.arg("--cap-lints=allow")
8788
.arg("--emit=dep-info,metadata")
8889
.arg("--out-dir")
8990
.arg(out_dir)

0 commit comments

Comments
 (0)