Merge pull request #292 from dtolnay/deadcode

Make compatible with -Dwarnings
This commit is contained in:
David Tolnay 2024-03-11 19:55:16 -07:00 committed by GitHub
commit 14be209a74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,6 +84,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool {
.arg("--edition=2018") .arg("--edition=2018")
.arg("--crate-name=thiserror") .arg("--crate-name=thiserror")
.arg("--crate-type=lib") .arg("--crate-type=lib")
.arg("--cap-lints=allow")
.arg("--emit=dep-info,metadata") .arg("--emit=dep-info,metadata")
.arg("--out-dir") .arg("--out-dir")
.arg(out_dir) .arg(out_dir)