diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-11-28 15:58:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-28 15:58:19 +0100 |
| commit | f4301a26beb78596b3a877fc36ca76fbd427e33c (patch) | |
| tree | 235b8e512246edb3b531131a7128af11fd60ea36 /compiler/rustc_interface/src/util.rs | |
| parent | 93d830ed50ada43ce3c7561d6f98dd3630a11cf9 (diff) | |
| parent | 6b47920c69fa048331aeb46612b158ded7c6e12e (diff) | |
| download | rust-f4301a26beb78596b3a877fc36ca76fbd427e33c.tar.gz rust-f4301a26beb78596b3a877fc36ca76fbd427e33c.zip | |
Rollup merge of #79344 - JRF63:fix_install_script_win, r=Mark-Simulacrum
Convert UNC path to local path to satisfy install script on Windows `mkdir` with the `-p` flag attempts to create `//?` if passed a UNC path. This fails on both MSYS2 and Git Bash. The UNC paths come from [canonicalizing](https://github.com/rust-lang/rust/blob/32da90b431919eedb3e281a91caea063ba4edb77/src/bootstrap/install.rs#L79) the install prefix path. `mkdir -p` gets invoked on the [install script](https://github.com/rust-lang/rust-installer/blob/d66f476b4d5e7fdf1ec215c9ac16c923dc292324/install-template.sh#L149).
Diffstat (limited to 'compiler/rustc_interface/src/util.rs')
0 files changed, 0 insertions, 0 deletions
