Skip to content

Commit 8be9091

Browse files
authored
Merge pull request #354 from dtolnay/deadcode
Make compatible with -Dwarnings
2 parents 5443719 + a2eb7dd commit 8be9091

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool {
122122
.arg("--crate-name=anyhow")
123123
.arg("--crate-type=lib")
124124
.arg("--emit=dep-info,metadata")
125+
.arg("--cap-lints=allow")
125126
.arg("--out-dir")
126127
.arg(out_dir)
127128
.arg(probefile);

0 commit comments

Comments
 (0)