Skip to content

Commit

Permalink
xtask: Un-break xtask update minimal.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Jan 16, 2024
1 parent 7768876 commit e5373a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/xtask/src/xtask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,9 @@ fn main() -> Result<(), ActionError> {
}
UpdateTo::Minimal => {
config.do_for_all_workspaces(|| {
cargo()
.args(["+nightly", "update", "-Zdirect-minimal-versions"])
// can't use cargo() to invoke rustup
cmd!("cargo +nightly")
.args(["update", "-Zdirect-minimal-versions"])
.args(&options)
.run()?;
Ok(())
Expand Down

0 comments on commit e5373a5

Please sign in to comment.