Skip to content

Commit 3fb4212

Browse files
committed
---
yaml --- r: 274119 b: refs/heads/stable c: 327c902 h: refs/heads/master i: 274117: 721af5f 274115: 7f5011c 274111: 6302e7e
1 parent 6997543 commit 3fb4212

File tree

108 files changed

+1630
-2325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1630
-2325
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 340e7eb2a7330fd73e6ae745690fb7d92ddba4d4
32+
refs/heads/stable: 327c9023420a0484189e250b2185f0c49b909caf
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/configure

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ CFG_SELF="$0"
550550
CFG_CONFIGURE_ARGS="$@"
551551

552552

553-
case "${CFG_SRC_DIR}" in
553+
case "${CFG_SRC_DIR}" in
554554
*\ * )
555555
err "The path to the rust source directory contains spaces, which is not supported"
556556
;;
@@ -892,13 +892,6 @@ then
892892
CFG_DISABLE_JEMALLOC=1
893893
fi
894894

895-
if [ $CFG_OSTYPE = pc-windows-gnu ]
896-
then
897-
# FIXME(#31030) - there's not a great reason to disable jemalloc here
898-
step_msg "on Windows, disabling jemalloc"
899-
CFG_DISABLE_JEMALLOC=1
900-
fi
901-
902895
# OS X 10.9, gcc is actually clang. This can cause some confusion in the build
903896
# system, so if we find that gcc is clang, we should just use clang directly.
904897
if [ $CFG_OSTYPE = apple-darwin -a -z "$CFG_ENABLE_CLANG" ]

branches/stable/mk/crates.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ DEPS_rustc_front := std syntax log serialize
102102
DEPS_rustc_lint := rustc log syntax
103103
DEPS_rustc_llvm := native:rustllvm libc std rustc_bitflags
104104
DEPS_rustc_metadata := rustc rustc_front syntax rbml
105-
DEPS_rustc_passes := syntax rustc core rustc_front
105+
DEPS_rustc_passes := syntax rustc core
106106
DEPS_rustc_mir := rustc rustc_front syntax
107107
DEPS_rustc_resolve := arena rustc rustc_front log syntax
108108
DEPS_rustc_platform_intrinsics := rustc rustc_llvm

branches/stable/mk/main.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
######################################################################
1414

1515
# The version number
16-
CFG_RELEASE_NUM=1.8.0
16+
CFG_RELEASE_NUM=1.7.0
1717

1818
# An optional number to put after the label, e.g. '.2' -> '-beta.2'
1919
# NB Make sure it starts with a dot to conform to semver pre-release

branches/stable/src/jemalloc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit e24a1a025a1f214e40eedafe3b9c7b1d69937922
1+
Subproject commit f84e30927284b0c500ed3eaf09e8e159da20ddaf

branches/stable/src/liballoc/arc.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@ pub struct Weak<T: ?Sized> {
149149
_ptr: Shared<ArcInner<T>>,
150150
}
151151

152-
#[stable(feature = "rust1", since = "1.0.0")]
152+
#[stable(feature = "arc_weak", since = "1.4.0")]
153153
unsafe impl<T: ?Sized + Sync + Send> Send for Weak<T> {}
154-
#[stable(feature = "rust1", since = "1.0.0")]
154+
#[stable(feature = "arc_weak", since = "1.4.0")]
155155
unsafe impl<T: ?Sized + Sync + Send> Sync for Weak<T> {}
156156

157157
#[unstable(feature = "coerce_unsized", issue = "27732")]
158158
impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Weak<U>> for Weak<T> {}
159159

160-
#[stable(feature = "rust1", since = "1.0.0")]
160+
#[stable(feature = "arc_weak", since = "1.4.0")]
161161
impl<T: ?Sized + fmt::Debug> fmt::Debug for Weak<T> {
162162
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
163163
write!(f, "(Weak)")
@@ -681,7 +681,7 @@ impl<T: ?Sized> Clone for Weak<T> {
681681
}
682682
}
683683

684-
#[stable(feature = "rust1", since = "1.0.0")]
684+
#[stable(feature = "arc_weak", since = "1.4.0")]
685685
impl<T: ?Sized> Drop for Weak<T> {
686686
/// Drops the `Weak<T>`.
687687
///

branches/stable/src/liballoc/rc.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -715,9 +715,9 @@ pub struct Weak<T: ?Sized> {
715715
_ptr: Shared<RcBox<T>>,
716716
}
717717

718-
#[stable(feature = "rc_weak", since = "1.4.0")]
718+
#[stable(feature = "rust1", since = "1.0.0")]
719719
impl<T: ?Sized> !marker::Send for Weak<T> {}
720-
#[stable(feature = "rc_weak", since = "1.4.0")]
720+
#[stable(feature = "rust1", since = "1.0.0")]
721721
impl<T: ?Sized> !marker::Sync for Weak<T> {}
722722

723723
#[unstable(feature = "coerce_unsized", issue = "27732")]
@@ -753,7 +753,7 @@ impl<T: ?Sized> Weak<T> {
753753
}
754754
}
755755

756-
#[stable(feature = "rc_weak", since = "1.4.0")]
756+
#[stable(feature = "rust1", since = "1.0.0")]
757757
impl<T: ?Sized> Drop for Weak<T> {
758758
/// Drops the `Weak<T>`.
759759
///
@@ -819,7 +819,7 @@ impl<T: ?Sized> Clone for Weak<T> {
819819
}
820820
}
821821

822-
#[stable(feature = "rc_weak", since = "1.4.0")]
822+
#[stable(feature = "rust1", since = "1.0.0")]
823823
impl<T: ?Sized + fmt::Debug> fmt::Debug for Weak<T> {
824824
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
825825
write!(f, "(Weak)")

branches/stable/src/libcollections/btree/node.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,8 +1027,6 @@ impl<'a, K, V> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>, marker::
10271027
}
10281028
self.node.as_leaf_mut().len -= 1;
10291029

1030-
left_node.as_leaf_mut().len += right_len as u16 + 1;
1031-
10321030
if self.node.height > 1 {
10331031
ptr::copy_nonoverlapping(
10341032
right_node.cast_unchecked().as_internal().edges.as_ptr(),
@@ -1060,6 +1058,8 @@ impl<'a, K, V> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>, marker::
10601058
);
10611059
}
10621060

1061+
left_node.as_leaf_mut().len += right_len as u16 + 1;
1062+
10631063
Handle::new_edge(self.node, self.idx)
10641064
}
10651065
}

0 commit comments

Comments
 (0)