mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user