]> git.lizzy.rs Git - rust.git/blob - src/ci/scripts/windows-symlink-build-dir.sh
Make drop-glue take advantage of -Zshare-generics.
[rust.git] / src / ci / scripts / windows-symlink-build-dir.sh
1 #!/bin/bash
2 # We've had issues with the default drive in use running out of space during a
3 # build, and it looks like the `C:` drive has more space than the default `D:`
4 # drive. We should probably confirm this with the azure pipelines team at some
5 # point, but this seems to fix our "disk space full" problems.
6
7 set -euo pipefail
8 IFS=$'\n\t'
9
10 source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
11
12 if isWindows; then
13     cmd //c "mkdir c:\\MORE_SPACE"
14     cmd //c "mklink /J build c:\\MORE_SPACE"
15 fi