Skip to content

Commit 5b496b7

Browse files
committed
Auto merge of #47119 - alexcrichton:beta-next, r=alexcrichton
[beta] Prepare the 1.24.0 beta release * Update the channel of this release * Update the bootstrap compiler to the dev artifacts * Fix compile for last-minute backports
2 parents b65f0be + 95d5e31 commit 5b496b7

File tree

5 files changed

+11
-14
lines changed

5 files changed

+11
-14
lines changed

src/bootstrap/builder.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ impl<'a> Builder<'a> {
419419
.env("RUSTC_LIBDIR", self.sysroot_libdir(compiler, self.build.build))
420420
.env("CFG_RELEASE_CHANNEL", &self.build.config.channel)
421421
.env("RUSTDOC_REAL", self.rustdoc(host))
422-
.env("RUSTDOC_CRATE_VERSION", self.build.rust_version());
422+
.env("RUSTDOC_CRATE_VERSION", self.build.rust_version())
423+
.env("RUSTC_BOOTSTRAP", "1");
423424
if let Some(linker) = self.build.linker(host) {
424425
cmd.env("RUSTC_TARGET_LINKER", linker);
425426
}

src/ci/docker/x86_64-gnu-tools/checktools.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,14 @@ touch "$TOOLSTATE_FILE"
2323
set +e
2424
python2.7 "$X_PY" test --no-fail-fast \
2525
src/tools/rls \
26-
src/tools/rustfmt \
27-
src/tools/miri \
28-
src/tools/clippy
26+
src/tools/rustfmt
2927
set -e
3028

3129
cat "$TOOLSTATE_FILE"
3230

3331
# If this PR is intended to update one of these tools, do not let the build pass
3432
# when they do not test-pass.
35-
for TOOL in rls rustfmt miri clippy; do
33+
for TOOL in rls rustfmt; do
3634
echo "Verifying status of $TOOL..."
3735
if echo "$CHANGED_FILES" | grep -q "^M[[:blank:]]src/tools/$TOOL$"; then
3836
echo "This PR updated 'src/tools/$TOOL', verifying if status is 'test-pass'..."

src/ci/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fi
4242
#
4343
# FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
4444
# either automatically or manually.
45-
export RUST_RELEASE_CHANNEL=nightly
45+
export RUST_RELEASE_CHANNEL=beta
4646
if [ "$DEPLOY$DEPLOY_ALT" != "" ]; then
4747
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL"
4848
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"

src/liballoc/boxed.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ impl<T: ?Sized> Box<T> {
300300
issue = "27730")]
301301
#[inline]
302302
pub unsafe fn from_unique(u: Unique<T>) -> Self {
303-
Box(u)
303+
mem::transmute(u)
304304
}
305305

306306
/// Consumes the `Box`, returning the wrapped raw pointer.
@@ -362,9 +362,7 @@ impl<T: ?Sized> Box<T> {
362362
issue = "27730")]
363363
#[inline]
364364
pub fn into_unique(b: Box<T>) -> Unique<T> {
365-
let unique = b.0;
366-
mem::forget(b);
367-
unique
365+
unsafe { mem::transmute(b) }
368366
}
369367

370368
/// Consumes and leaks the `Box`, returning a mutable reference,

src/stage0.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
# source tarball for a stable release you'll likely see `1.x.0` for rustc and
1313
# `0.x.0` for Cargo where they were released on `date`.
1414

15-
date: 2017-11-21
16-
rustc: beta
17-
cargo: beta
15+
date: 2018-01-02
16+
rustc: 1.23.0
17+
cargo: 0.24.0
1818

1919
# When making a stable release the process currently looks like:
2020
#
@@ -34,4 +34,4 @@ cargo: beta
3434
# looking at a beta source tarball and it's uncommented we'll shortly comment it
3535
# out.
3636

37-
#dev: 1
37+
dev: 1

0 commit comments

Comments
 (0)