Support bootstrap.

This commit is contained in:
Camille GILLOT 2023-08-20 16:50:08 +00:00
parent 6cec91d647
commit 905fd1ba17

View File

@ -12,7 +12,8 @@
//! //!
//! Typical usage will look like this: //! Typical usage will look like this:
//! //!
//! ```rust #![cfg_attr(bootstrap, doc = "```rust,ignore")]
#![cfg_attr(not(bootstrap), doc = "```rust")]
//! #![feature(core_intrinsics, custom_mir)] //! #![feature(core_intrinsics, custom_mir)]
//! #![allow(internal_features)] //! #![allow(internal_features)]
//! //!
@ -62,7 +63,8 @@
//! //!
//! # Examples //! # Examples
//! //!
//! ```rust #![cfg_attr(bootstrap, doc = "```rust,ignore")]
#![cfg_attr(not(bootstrap), doc = "```rust")]
//! #![feature(core_intrinsics, custom_mir)] //! #![feature(core_intrinsics, custom_mir)]
//! #![allow(internal_features)] //! #![allow(internal_features)]
//! //!
@ -317,7 +319,8 @@ define!(
/// ///
/// # Examples /// # Examples
/// ///
/// ```rust #[cfg_attr(bootstrap, doc = "```rust,ignore")]
#[cfg_attr(not(bootstrap), doc = "```rust")]
/// #![allow(internal_features)] /// #![allow(internal_features)]
/// #![feature(custom_mir, core_intrinsics)] /// #![feature(custom_mir, core_intrinsics)]
/// ///