remove cfg(bootstrap)

This commit is contained in:
Pietro Albini
2022-09-20 15:41:42 +02:00
parent 317cab9bef
commit 3975d55d98
84 changed files with 15 additions and 1308 deletions

View File

@@ -5,7 +5,6 @@
// Your performance intuition is useless. Run perf.
use crate::cmp;
#[cfg(not(bootstrap))]
use crate::error::Error;
use crate::fmt;
use crate::mem::{self, ValidAlign};
@@ -463,7 +462,6 @@ pub type LayoutErr = LayoutError;
#[derive(Clone, PartialEq, Eq, Debug)]
pub struct LayoutError;
#[cfg(not(bootstrap))]
#[stable(feature = "alloc_layout", since = "1.28.0")]
impl Error for LayoutError {}