Skip to content

Commit

Permalink
Auto merge of #125648 - lqd:rustsrc, r=<try>
Browse files Browse the repository at this point in the history
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.

r? ghost

(Opening as draft to run tests on a `try` build.)
  • Loading branch information
bors committed May 28, 2024
2 parents c0d6003 + 17bc064 commit 9137f59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/ci/docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ else
args="$args --volume $root_dir:/checkout$SRC_MOUNT_OPTION"
args="$args --volume $objdir:/checkout/obj"
args="$args --volume $HOME/.cargo:/cargo"
args="$args --volume $HOME/rustsrc:$HOME/rustsrc"
args="$args --volume /tmp/toolstate:/tmp/toolstate"

id=$(id -u)
Expand Down
8 changes: 7 additions & 1 deletion src/ci/github-actions/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ envs:

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

auto:
<<: *production
Expand Down

0 comments on commit 9137f59

Please sign in to comment.