Make compatible with -Dwarnings

This commit is contained in:
David Tolnay 2024-03-11 19:52:46 -07:00
parent f55a5d28da
commit 15a1d647cf
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

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)