Skip to content

Commit b176581

Browse files
committed
Prevent new lint from turning off nightly span support under -Dwarnings
1 parent b9cd864 commit b176581

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool {
156156
.arg("--edition=2021")
157157
.arg("--crate-name=proc_macro2")
158158
.arg("--crate-type=lib")
159+
.arg("--cap-lints=allow")
159160
.arg("--emit=dep-info,metadata")
160161
.arg("--out-dir")
161162
.arg(out_dir)

0 commit comments

Comments
 (0)