Skip to content

Commit

Permalink
rust: Use stable toolchain for udeps job
Browse files Browse the repository at this point in the history
That way we avoid rust-lang/rust#85574
  • Loading branch information
MikailBag committed May 22, 2021
1 parent 6ab720b commit bdd2eef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions languages/rust.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ mkdir -p ~/udeps
cp $( which cargo-udeps ) ~/udeps`

runCargoUdeps := `
export PATH=~/udeps:$PATH
export PATH=~/udeps:$PATH
export RUSTC_BOOTSTRAP=1
cargo udeps
`

Expand Down Expand Up @@ -99,7 +100,7 @@ cargo udeps
Timeout: config.JobTimeout,
Steps: []actions.Step{
actions.MakeCheckoutStep(),
makeInstallTooclhainStep("nightly"),
makeInstallTooclhainStep("stable"),
makeRustCacheStep(),
{
Name: "Fetch prebuilt cargo-udeps",
Expand Down

0 comments on commit bdd2eef

Please sign in to comment.