Skip to content

Commit

Permalink
Skip self-update
Browse files Browse the repository at this point in the history
  • Loading branch information
epompeii committed Jun 16, 2024
1 parent cda9c4f commit 4225f6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/test_api/src/task/test/examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ impl Example {
pub fn require(self) -> anyhow::Result<()> {
match self {
Self::RustBench => {
// Skip self-update on Windows
// https://github.com/rust-lang/rustup/issues/3709
let status = Command::new("rustup")
.args(["install", "nightly"])
.args(["install", "nightly", "--no-self-update"])
.status()?;
assert!(status.success(), "{status}");
Ok(())
Expand Down

0 comments on commit 4225f6d

Please sign in to comment.