Skip to content

Commit 178aa66

Browse files
committed
Auto merge of #62332 - Mark-Simulacrum:beta-next, r=pietroalbini
[beta] master -> beta promotion for 1.37 This includes the release note patch from stable. r? @pietroalbini
2 parents 8301de1 + 421160e commit 178aa66

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

RELEASES.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Stabilized APIs
3939
- [`mem::MaybeUninit`]
4040
- [`pointer::align_offset`]
4141
- [`future::Future`]
42-
- [`task::Context`]
42+
- [`task::Context`]
4343
- [`task::RawWaker`]
4444
- [`task::RawWakerVTable`]
4545
- [`task::Waker`]
@@ -61,6 +61,8 @@ Misc
6161

6262
Compatibility Notes
6363
-------------------
64+
- [`std::arch::x86::_rdtsc` returns `u64` instead of `i64`][stdsimd/559]
65+
- [`std::arch::x86_64::_mm_shuffle_ps` takes an `i32` instead of `u32` for `mask`][stdsimd/522]
6466
- With the stabilisation of `mem::MaybeUninit`, `mem::uninitialized` use is no
6567
longer recommended, and will be deprecated in 1.38.0.
6668

@@ -97,7 +99,8 @@ Compatibility Notes
9799
[`task::Poll`]: https://doc.rust-lang.org/beta/std/task/enum.Poll.html
98100
[clippy-1-36-0]: https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-136
99101
[cargo-1-36-0]: https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-136-2019-07-04
100-
102+
[stdsimd/522]: https://github.com/rust-lang-nursery/stdsimd/issues/522
103+
[stdsimd/559]: https://github.com/rust-lang-nursery/stdsimd/issues/559
101104

102105
Version 1.35.0 (2019-05-23)
103106
==========================

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fi
4545
#
4646
# FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
4747
# either automatically or manually.
48-
export RUST_RELEASE_CHANNEL=nightly
48+
export RUST_RELEASE_CHANNEL=beta
4949
if [ "$DEPLOY$DEPLOY_ALT" = "1" ]; then
5050
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL"
5151
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"

src/libstd/collections/hash/map.rs

+6
Original file line numberDiff line numberDiff line change
@@ -2608,6 +2608,12 @@ mod test_map {
26082608
use realstd::collections::CollectionAllocErr::*;
26092609
use realstd::usize;
26102610

2611+
// https://github.com/rust-lang/rust/issues/62301
2612+
fn _assert_hashmap_is_unwind_safe() {
2613+
fn assert_unwind_safe<T: crate::panic::UnwindSafe>() {}
2614+
assert_unwind_safe::<HashMap<(), crate::cell::UnsafeCell<()>>>();
2615+
}
2616+
26112617
#[test]
26122618
fn test_zero_capacities() {
26132619
type HM = HashMap<i32, i32>;

src/libstd/panic.rs

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use crate::any::Any;
66
use crate::cell::UnsafeCell;
7+
use crate::collections;
78
use crate::fmt;
89
use crate::future::Future;
910
use crate::pin::Pin;
@@ -285,6 +286,11 @@ impl RefUnwindSafe for atomic::AtomicBool {}
285286
#[stable(feature = "unwind_safe_atomic_refs", since = "1.14.0")]
286287
impl<T> RefUnwindSafe for atomic::AtomicPtr<T> {}
287288

289+
// https://github.com/rust-lang/rust/issues/62301
290+
#[stable(feature = "hashbrown", since = "1.36.0")]
291+
impl<K, V, S> UnwindSafe for collections::HashMap<K, V, S>
292+
where K: UnwindSafe, V: UnwindSafe, S: UnwindSafe {}
293+
288294
#[stable(feature = "catch_unwind", since = "1.9.0")]
289295
impl<T> Deref for AssertUnwindSafe<T> {
290296
type Target = T;

src/stage0.txt

+4-4
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: 2019-05-23
16-
rustc: beta
17-
cargo: beta
15+
date: 2019-07-03
16+
rustc: 1.36.0
17+
cargo: 0.37.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)