Skip to content

Commit 9b9de27

Browse files
committed
Bump to 1.22.0
1 parent 2972687 commit 9b9de27

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

Diff for: src/bootstrap/channel.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use Build;
2424
use config::Config;
2525

2626
// The version number
27-
pub const CFG_RELEASE_NUM: &str = "1.21.0";
27+
pub const CFG_RELEASE_NUM: &str = "1.22.0";
2828

2929
// An optional number to put after the label, e.g. '.2' -> '-beta.2'
3030
// Be sure to make this starts with a dot to conform to semver pre-release

Diff for: src/libstd/lib.rs

+3-10
Original file line numberDiff line numberDiff line change
@@ -320,16 +320,9 @@
320320
// Always use alloc_system during stage0 since we don't know if the alloc_*
321321
// crate the stage0 compiler will pick by default is enabled (e.g.
322322
// if the user has disabled jemalloc in `./configure`).
323-
// `force_alloc_system` is *only* intended as a workaround for local rebuilds
324-
// with a rustc without jemalloc.
325-
// The not(stage0+msvc) gates will only last until the next stage0 bump
326-
#![cfg_attr(all(
327-
not(all(stage0, target_env = "msvc")),
328-
any(stage0, feature = "force_alloc_system")),
329-
feature(global_allocator))]
330-
#[cfg(all(
331-
not(all(stage0, target_env = "msvc")),
332-
any(stage0, feature = "force_alloc_system")))]
323+
#![cfg_attr(any(stage0, feature = "force_alloc_system"),
324+
feature(global_allocator))]
325+
#[cfg(any(stage0, feature = "force_alloc_system"))]
333326
#[global_allocator]
334327
static ALLOC: alloc_system::System = alloc_system::System;
335328

Diff for: src/stage0.txt

+3-3
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: 2017-08-25
16-
rustc: nightly
17-
cargo: nightly
15+
date: 2017-08-29
16+
rustc: beta
17+
cargo: beta
1818

1919
# When making a stable release the process currently looks like:
2020
#

0 commit comments

Comments
 (0)