File tree 5 files changed +11
-14
lines changed
5 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -419,7 +419,8 @@ impl<'a> Builder<'a> {
419
419
. env ( "RUSTC_LIBDIR" , self . sysroot_libdir ( compiler, self . build . build ) )
420
420
. env ( "CFG_RELEASE_CHANNEL" , & self . build . config . channel )
421
421
. 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" ) ;
423
424
if let Some ( linker) = self . build . linker ( host) {
424
425
cmd. env ( "RUSTC_TARGET_LINKER" , linker) ;
425
426
}
Original file line number Diff line number Diff line change @@ -23,16 +23,14 @@ touch "$TOOLSTATE_FILE"
23
23
set +e
24
24
python2.7 " $X_PY " test --no-fail-fast \
25
25
src/tools/rls \
26
- src/tools/rustfmt \
27
- src/tools/miri \
28
- src/tools/clippy
26
+ src/tools/rustfmt
29
27
set -e
30
28
31
29
cat " $TOOLSTATE_FILE "
32
30
33
31
# If this PR is intended to update one of these tools, do not let the build pass
34
32
# when they do not test-pass.
35
- for TOOL in rls rustfmt miri clippy ; do
33
+ for TOOL in rls rustfmt; do
36
34
echo " Verifying status of $TOOL ..."
37
35
if echo " $CHANGED_FILES " | grep -q " ^M[[:blank:]]src/tools/$TOOL $" ; then
38
36
echo " This PR updated 'src/tools/$TOOL ', verifying if status is 'test-pass'..."
Original file line number Diff line number Diff line change 42
42
#
43
43
# FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
44
44
# either automatically or manually.
45
- export RUST_RELEASE_CHANNEL=nightly
45
+ export RUST_RELEASE_CHANNEL=beta
46
46
if [ " $DEPLOY$DEPLOY_ALT " != " " ]; then
47
47
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL "
48
48
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ impl<T: ?Sized> Box<T> {
300
300
issue = "27730" ) ]
301
301
#[ inline]
302
302
pub unsafe fn from_unique ( u : Unique < T > ) -> Self {
303
- Box ( u)
303
+ mem :: transmute ( u)
304
304
}
305
305
306
306
/// Consumes the `Box`, returning the wrapped raw pointer.
@@ -362,9 +362,7 @@ impl<T: ?Sized> Box<T> {
362
362
issue = "27730" ) ]
363
363
#[ inline]
364
364
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) }
368
366
}
369
367
370
368
/// Consumes and leaks the `Box`, returning a mutable reference,
Original file line number Diff line number Diff line change 12
12
# source tarball for a stable release you'll likely see `1.x.0` for rustc and
13
13
# `0.x.0` for Cargo where they were released on `date`.
14
14
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
18
18
19
19
# When making a stable release the process currently looks like:
20
20
#
@@ -34,4 +34,4 @@ cargo: beta
34
34
# looking at a beta source tarball and it's uncommented we'll shortly comment it
35
35
# out.
36
36
37
- # dev: 1
37
+ dev: 1
You can’t perform that action at this time.
0 commit comments