Skip to content

Commit

Permalink
5
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexErrant committed Dec 5, 2023
1 parent 64a11b5 commit 944e53a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions xtask/src/runchecks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@ fn run_cargo_with_path<P: AsRef<Path>>(
.unwrap()
.ends_with("examples/train-web/train")
{
rustup(&["+nightly-2023-07-01", "component", "add", "rust-src"]);
rustup(&[
"component",
"add",
"rust-src",
"--toolchain",
"nightly-2023-07-01",
]);
vec!["+nightly-2023-07-01"]
} else {
vec![]
Expand Down Expand Up @@ -420,7 +426,6 @@ fn check_typos() {
}

fn check_examples() {
rustup(&["+nightly-2023-07-01", "component", "add", "rust-src"]);
rustup(&[
"component",
"add",
Expand Down

0 comments on commit 944e53a

Please sign in to comment.