This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1+ nightly
Original file line number Diff line number Diff line change @@ -62,17 +62,10 @@ if [ "$DIST_SRC" = "" ]; then
6262 RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --disable-dist-src"
6363fi
6464
65- # If we're deploying artifacts then we set the release channel, otherwise if
66- # we're not deploying then we want to be sure to enable all assertions because
67- # we'll be running tests
68- #
69- # FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
70- # either automatically or manually.
71- export RUST_RELEASE_CHANNEL=nightly
72-
7365# Always set the release channel for bootstrap; this is normally not important (i.e., only dist
7466# builds would seem to matter) but in practice bootstrap wants to know whether we're targeting
7567# master, beta, or stable with a build to determine whether to run some checks (notably toolstate).
68+ export RUST_RELEASE_CHANNEL=" $( cat " ${ci_dir} /channel" ) "
7669RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL "
7770
7871if [ " $DEPLOY$DEPLOY_ALT " = " 1" ]; then
You can’t perform that action at this time.
0 commit comments