Skip to content

Commit 4dce672

Browse files
committed
Auto merge of #41525 - alexcrichton:beta-next, r=brson
[beta] Prepare the 1.18.0 beta release * Update the cargo submodule * Update the stage0 bootstrap compiler, temporarily downloading it from dev-static.rust-lang.org until it's released this Thursday. * Update release channel being compiled to beta * Disable the RLS release (will only happen on this one beta release)
2 parents 63c7721 + c430eff commit 4dce672

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

cargo

src/bootstrap/bootstrap.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def download_stage0(self):
171171
if os.path.exists(self.bin_root()):
172172
shutil.rmtree(self.bin_root())
173173
filename = "rust-std-{}-{}.tar.gz".format(channel, self.build)
174-
url = "https://static.rust-lang.org/dist/" + self.stage0_rustc_date()
174+
url = "https://dev-static.rust-lang.org/dist/" + self.stage0_rustc_date()
175175
tarball = os.path.join(rustc_cache, filename)
176176
if not os.path.exists(tarball):
177177
get("{}/{}".format(url, filename), tarball, verbose=self.verbose)
@@ -180,7 +180,7 @@ def download_stage0(self):
180180
verbose=self.verbose)
181181

182182
filename = "rustc-{}-{}.tar.gz".format(channel, self.build)
183-
url = "https://static.rust-lang.org/dist/" + self.stage0_rustc_date()
183+
url = "https://dev-static.rust-lang.org/dist/" + self.stage0_rustc_date()
184184
tarball = os.path.join(rustc_cache, filename)
185185
if not os.path.exists(tarball):
186186
get("{}/{}".format(url, filename), tarball, verbose=self.verbose)
@@ -192,7 +192,7 @@ def download_stage0(self):
192192

193193
if "pc-windows-gnu" in self.build:
194194
filename = "rust-mingw-{}-{}.tar.gz".format(channel, self.build)
195-
url = "https://static.rust-lang.org/dist/" + self.stage0_rustc_date()
195+
url = "https://dev-static.rust-lang.org/dist/" + self.stage0_rustc_date()
196196
tarball = os.path.join(rustc_cache, filename)
197197
if not os.path.exists(tarball):
198198
get("{}/{}".format(url, filename), tarball, verbose=self.verbose)
@@ -201,8 +201,8 @@ def download_stage0(self):
201201
if self.cargo().startswith(self.bin_root()) and \
202202
(not os.path.exists(self.cargo()) or self.cargo_out_of_date()):
203203
self.print_what_it_means_to_bootstrap()
204-
filename = "cargo-{}-{}.tar.gz".format(channel, self.build)
205-
url = "https://static.rust-lang.org/dist/" + self.stage0_rustc_date()
204+
filename = "cargo-{}-{}.tar.gz".format('0.18.0', self.build)
205+
url = "https://dev-static.rust-lang.org/dist/" + self.stage0_rustc_date()
206206
tarball = os.path.join(rustc_cache, filename)
207207
if not os.path.exists(tarball):
208208
get("{}/{}".format(url, filename), tarball, verbose=self.verbose)

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fi
4040
# FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
4141
# either automatically or manually.
4242
if [ "$DEPLOY$DEPLOY_ALT" != "" ]; then
43-
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=nightly"
43+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=beta"
4444
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
4545

4646
if [ "$NO_LLVM_ASSERTIONS" = "1" ]; then

src/stage0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# tarball for a stable release you'll likely see `1.x.0-$date` where `1.x.0` was
1313
# released on `$date`
1414

15-
rustc: beta-2017-04-05
15+
rustc: 1.17.0-2017-04-25

src/tools/build-manifest/src/main.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ impl Builder {
230230
self.package("rust-std", &mut manifest.pkg, TARGETS);
231231
self.package("rust-docs", &mut manifest.pkg, TARGETS);
232232
self.package("rust-src", &mut manifest.pkg, &["*"]);
233-
self.package("rls", &mut manifest.pkg, HOSTS);
233+
// self.package("rls", &mut manifest.pkg, HOSTS);
234234
self.package("rust-analysis", &mut manifest.pkg, TARGETS);
235235

236236
let mut pkg = Package {
@@ -270,10 +270,10 @@ impl Builder {
270270
});
271271
}
272272

273-
extensions.push(Component {
274-
pkg: "rls".to_string(),
275-
target: host.to_string(),
276-
});
273+
// extensions.push(Component {
274+
// pkg: "rls".to_string(),
275+
// target: host.to_string(),
276+
// });
277277
extensions.push(Component {
278278
pkg: "rust-analysis".to_string(),
279279
target: host.to_string(),

0 commit comments

Comments
 (0)