Skip to content

Commit 39e03a7

Browse files
committed
update
1 parent 1968798 commit 39e03a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/verify-build.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,16 +280,16 @@ def do_semver_checks(cfg: Cfg, target: Target) -> None:
280280
env.setdefault("RUSTDOCFLAGS", "")
281281
# Needed for rustdoc json
282282
env["RUSTC_BOOTSTRAP"] = "1"
283-
# Don't lint the baseline
284-
env["RUSTFLAGS"] += " -Awarnings"
285-
env["RUSTDOCFLAGS"] += " -Awarnings"
283+
# Don't trigger `deny(warnings)`
284+
env.pop("LIBC_CI", None)
286285

287286
cmd = ["cargo", "rustdoc", "--target", tname]
288287
rustdoc_args = ["--", "-Zunstable-options", "--output-format=json"]
289288

289+
# Build the current crate and the baseline crate, which CI should have downloaded
290290
run([*cmd, *rustdoc_args], env=env)
291-
292291
run([*cmd, "--manifest-path", cfg.baseline_crate_dir, *rustdoc_args], env=env)
292+
293293
baseline = cfg.baseline_crate_dir / "target" / tname / "libc.json"
294294
current = Path("target") / tname / "libc.json"
295295

0 commit comments

Comments
 (0)