Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool {
.arg("--crate-type=lib")
.arg("--cap-lints=allow")
.arg("--emit=dep-info,metadata")
.arg("--cap-lints=allow")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity: Isn't this duplicated now because --cap-lints=allow is already being set in line 121? Same for dtolnay/proc-macro2#515.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good call. I missed that the same flags were already present but just ordered differently compared to the anyhow build script. I'll revert these.

.arg("--out-dir")
.arg(&out_subdir)
.arg(probefile);
Expand Down