From a2eb7dd5e13add83f254b6dac0f68e043effc521 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 11 Mar 2024 19:30:29 -0700 Subject: [PATCH] Make compatible with -Dwarnings --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 7e95e6b..55d8a7e 100644 --- a/build.rs +++ b/build.rs @@ -122,6 +122,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool { .arg("--crate-name=anyhow") .arg("--crate-type=lib") .arg("--emit=dep-info,metadata") + .arg("--cap-lints=allow") .arg("--out-dir") .arg(out_dir) .arg(probefile);