added selection of new rustup profile minimal introduced with rustup

version 1.20.0
This commit is contained in:
Jonas Geschke
2019-10-15 10:50:49 +02:00
parent aa4d8a0338
commit 5aca3d29d9
2 changed files with 2 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ function installOnUnix() {
return __awaiter(this, void 0, void 0, function* () {
let script = yield toolCache.downloadTool("https://sh.rustup.rs");
fs_1.chmodSync(script, '777');
yield exec.exec(`"${script}"`, ['-y', '--default-toolchain', 'none']);
yield exec.exec(`"${script}"`, ['-y', '--default-toolchain', 'none', '--profile=minimal']);
return path.join(process.env['HOME'] || '', '.cargo');
});
}