Skip to content

Commit e51b714

Browse files
committed
Auto merge of #74323 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] 1.46 beta
2 parents c724b67 + dba515e commit e51b714

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fi
5151
#
5252
# FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
5353
# either automatically or manually.
54-
export RUST_RELEASE_CHANNEL=nightly
54+
export RUST_RELEASE_CHANNEL=beta
5555

5656
# Always set the release channel for bootstrap; this is normally not important (i.e., only dist
5757
# builds would seem to matter) but in practice bootstrap wants to know whether we're targeting

src/libcore/intrinsics.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ extern "rust-intrinsic" {
12871287
#[stable(feature = "rust1", since = "1.0.0")]
12881288
// NOTE: While this makes the intrinsic const stable, we have some custom code in const fn
12891289
// checks that prevent its use within `const fn`.
1290-
#[rustc_const_stable(feature = "const_transmute", since = "1.46.0")]
1290+
#[rustc_const_stable(feature = "const_transmute_in_consts", since = "1.46.0")]
12911291
pub fn transmute<T, U>(e: T) -> U;
12921292

12931293
/// Returns `true` if the actual type given as `T` requires drop
@@ -2286,3 +2286,7 @@ pub unsafe fn write_bytes<T>(dst: *mut T, val: u8, count: usize) {
22862286
// SAFETY: the safety contract for `write_bytes` must be upheld by the caller.
22872287
unsafe { write_bytes(dst, val, count) }
22882288
}
2289+
2290+
// dummy function to unbreak beta builds
2291+
#[rustc_const_unstable(feature = "const_transmute", issue = "53605")]
2292+
const fn _bar() {}

src/stage0.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
# source tarball for a stable release you'll likely see `1.x.0` for rustc and
1313
# `0.(x+1).0` for Cargo where they were released on `date`.
1414

15-
date: 2020-06-16
16-
rustc: beta
17-
cargo: beta
15+
date: 2020-07-13
16+
rustc: 1.45.0
17+
cargo: 0.46.0
1818

1919
# We use a nightly rustfmt to format the source because it solves some
2020
# bootstrapping issues with use of new syntax in this repo. If you're looking at
2121
# the beta/stable branch, this key should be omitted, as we don't want to depend
2222
# on rustfmt from nightly there.
23-
rustfmt: nightly-2020-04-22
23+
#rustfmt: nightly-2020-04-22
2424

2525
# When making a stable release the process currently looks like:
2626
#
@@ -40,4 +40,4 @@ rustfmt: nightly-2020-04-22
4040
# looking at a beta source tarball and it's uncommented we'll shortly comment it
4141
# out.
4242

43-
#dev: 1
43+
dev: 1

0 commit comments

Comments
 (0)