Uninstall the default profile on Windows

This commit is contained in:
Osspial
2019-12-04 00:47:58 -05:00
parent a82cf6be2a
commit 95a77582bb
5 changed files with 12 additions and 4 deletions

View File

@@ -20,6 +20,9 @@ export async function install() {
await exec.exec('rustup', ['self', 'update']);
await exec.exec('rustup', ['set', 'profile', 'minimal']);
// Github's default Windows install comes with rustup pre-installed with stable, including
// rust-docs. This removes the default stable install so that it doesn't update rust-docs.
await exec.exec('rustup', ['toolchain', 'uninstall', 'stable']);
}
}