Skip to content

Commit edba401

Browse files
authored
Rollup merge of #125648 - lqd:rustsrc, r=pietroalbini
Remove unused(?) `~/rustsrc` folder from docker script Every time I run a docker image, the script creates an empty `~/rustsrc` folder. It doesn't seem to be referenced anywhere else, so I'd like to remove it. Incidentally, this also documents DIST_TRY_BUILD as I fail to find it from a simple search any time I look for it to eg enable tests on try builds.
2 parents 9abf8b1 + f027366 commit edba401

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/ci/docker/run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ else
270270
args="$args --volume $root_dir:/checkout$SRC_MOUNT_OPTION"
271271
args="$args --volume $objdir:/checkout/obj"
272272
args="$args --volume $HOME/.cargo:/cargo"
273-
args="$args --volume $HOME/rustsrc:$HOME/rustsrc"
274273
args="$args --volume /tmp/toolstate:/tmp/toolstate"
275274

276275
id=$(id -u)

src/ci/github-actions/jobs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ envs:
6161

6262
try:
6363
<<: *production
64+
# The following env var activates faster `try` builds in `opt-dist` by, e.g.
65+
# - building only the more commonly useful components (we rarely need e.g. rust-docs in try
66+
# builds)
67+
# - not running `opt-dist`'s post-optimization smoke tests on the resulting toolchain
68+
#
69+
# If you *want* these to happen however, temporarily uncomment it before triggering a try build.
6470
DIST_TRY_BUILD: 1
6571

6672
auto:

0 commit comments

Comments
 (0)