Skip to content

Commit 06cc41b

Browse files
authored
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
2 parents 504092f + 367c8fe commit 06cc41b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/linkchecker/linkcheck.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ then
9898
nightly_hash=$(rustc +nightly -Vv | grep commit-hash | cut -f2 -d" ")
9999
url="https://github.com/raw/rust-lang/rust"
100100
mkdir linkchecker
101+
curl -o linkchecker/Cargo.lock ${url}/${nightly_hash}/Cargo.lock
101102
curl -o linkchecker/Cargo.toml ${url}/${nightly_hash}/src/tools/linkchecker/Cargo.toml
102103
curl -o linkchecker/main.rs ${url}/${nightly_hash}/src/tools/linkchecker/main.rs
103104
fi

0 commit comments

Comments
 (0)