about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-06-21 10:53:26 +0200
committerGitHub <noreply@github.com>2025-06-21 10:53:26 +0200
commit06cc41b4ec29c9f5ebc5f1476a744b6db07dc29e (patch)
tree5b8156a149bb65ac27ae9bc30b4892ff4b66d312 /src
parent504092f415b7182405b6d18a7a2c5705e56b8db4 (diff)
parent367c8feb482d87ba184a6a2ffaf5a2ab6a5fd1cf (diff)
downloadrust-06cc41b4ec29c9f5ebc5f1476a744b6db07dc29e.tar.gz
rust-06cc41b4ec29c9f5ebc5f1476a744b6db07dc29e.zip
Rollup merge of #142785 - epage:link, r=ehuss
fix(linkcheck): Build using the lockfile

This is to unblock cargo from servo/html5ever#623

I ran `linkcheck.sh` locally and it now works
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/linkchecker/linkcheck.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/linkchecker/linkcheck.sh b/src/tools/linkchecker/linkcheck.sh
index 6c1e668a7f0..d230610a6e7 100755
--- a/src/tools/linkchecker/linkcheck.sh
+++ b/src/tools/linkchecker/linkcheck.sh
@@ -98,6 +98,7 @@ then
     nightly_hash=$(rustc +nightly -Vv | grep commit-hash | cut -f2 -d" ")
     url="https://raw.githubusercontent.com/rust-lang/rust"
     mkdir linkchecker
+    curl -o linkchecker/Cargo.lock ${url}/${nightly_hash}/Cargo.lock
     curl -o linkchecker/Cargo.toml ${url}/${nightly_hash}/src/tools/linkchecker/Cargo.toml
     curl -o linkchecker/main.rs ${url}/${nightly_hash}/src/tools/linkchecker/main.rs
 fi