Bump bootstrap compiler version
This commit is contained in:
parent
3d3c8c5e0d
commit
dcef5ff372
18 changed files with 29 additions and 64 deletions
|
@ -1266,7 +1266,7 @@ impl CStr {
|
|||
/// behavior when `ptr` is used inside the `unsafe` block:
|
||||
///
|
||||
/// ```no_run
|
||||
/// # #![allow(unused_must_use)] #![cfg_attr(not(bootstrap), allow(temporary_cstring_as_ptr))]
|
||||
/// # #![allow(unused_must_use)] #![allow(temporary_cstring_as_ptr)]
|
||||
/// use std::ffi::CString;
|
||||
///
|
||||
/// let ptr = CString::new("Hello").expect("CString::new failed").as_ptr();
|
||||
|
|
|
@ -206,7 +206,7 @@
|
|||
#![needs_panic_runtime]
|
||||
// std may use features in a platform-specific way
|
||||
#![allow(unused_features)]
|
||||
#![cfg_attr(not(bootstrap), feature(rustc_allow_const_fn_unstable))]
|
||||
#![feature(rustc_allow_const_fn_unstable)]
|
||||
#![cfg_attr(test, feature(internal_output_capture, print_internals, update_panic_count))]
|
||||
#![cfg_attr(
|
||||
all(target_vendor = "fortanix", target_env = "sgx"),
|
||||
|
@ -324,7 +324,6 @@
|
|||
#![feature(unsafe_block_in_unsafe_fn)]
|
||||
#![feature(unsafe_cell_get_mut)]
|
||||
#![feature(unsafe_cell_raw_get)]
|
||||
#![cfg_attr(bootstrap, feature(untagged_unions))]
|
||||
#![feature(unwind_attributes)]
|
||||
#![feature(vec_into_raw_parts)]
|
||||
#![feature(wake_trait)]
|
||||
|
|
|
@ -1043,8 +1043,7 @@ impl Ipv6Addr {
|
|||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_const_stable(feature = "const_ipv6", since = "1.32.0")]
|
||||
#[cfg_attr(not(bootstrap), rustc_allow_const_fn_unstable(const_fn_transmute))]
|
||||
#[cfg_attr(bootstrap, allow_internal_unstable(const_fn_transmute))]
|
||||
#[rustc_allow_const_fn_unstable(const_fn_transmute)]
|
||||
pub const fn new(a: u16, b: u16, c: u16, d: u16, e: u16, f: u16, g: u16, h: u16) -> Ipv6Addr {
|
||||
let addr16 = [
|
||||
a.to_be(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue