File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed 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