1
Fork 0

Bump master to 1.21.0

This commit bumps the master branch's version to 1.21.0 and also updates the
bootstrap compiler from the freshly minted beta release.
This commit is contained in:
Alex Crichton 2017-07-17 09:32:08 -07:00
parent 7c46c6c59d
commit 9010567dcc
34 changed files with 323 additions and 769 deletions

View file

@ -16,26 +16,21 @@
form or name",
issue = "27783")]
#![deny(warnings)]
#![feature(alloc)]
#![feature(alloc_system)]
#![feature(libc)]
#![feature(staged_api)]
#![feature(linkage)]
#![cfg_attr(stage0, allocator)]
#![cfg_attr(stage0, feature(allocator))]
#![cfg_attr(not(stage0), feature(global_allocator))]
#![cfg_attr(all(not(stage0), not(dummy_jemalloc)), feature(allocator_api))]
#![cfg_attr(not(stage0), feature(alloc))]
#![cfg_attr(not(stage0), feature(alloc_system))]
#![feature(staged_api)]
#![cfg_attr(dummy_jemalloc, allow(dead_code))]
#![cfg_attr(not(dummy_jemalloc), feature(allocator_api))]
#[cfg(not(stage0))]
extern crate alloc;
#[cfg(not(stage0))]
extern crate alloc_system;
extern crate libc;
#[cfg(all(not(stage0), not(dummy_jemalloc)))]
#[cfg(not(dummy_jemalloc))]
pub use contents::*;
#[cfg(all(not(stage0), not(dummy_jemalloc)))]
#[cfg(not(dummy_jemalloc))]
mod contents {
use core::ptr;