Skip to content

Commit

Permalink
Prevent new lint from turning off nightly span support under -Dwarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 12, 2024
1 parent b9cd864 commit b176581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Expand Up @@ -156,6 +156,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool {
.arg("--edition=2021")
.arg("--crate-name=proc_macro2")
.arg("--crate-type=lib")
.arg("--cap-lints=allow")
.arg("--emit=dep-info,metadata")
.arg("--out-dir")
.arg(out_dir)
Expand Down

0 comments on commit b176581

Please sign in to comment.