Change stage0 cfg_attr to bootstrap

This commit is contained in:
flip1995 2019-06-24 12:59:12 +02:00 committed by Who? Me?!
parent 31e3712a3b
commit b2c444fb56
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ writing, the next stable release (i.e. what is currently beta) was
Next search for the feature string (in this case, `pub_restricted`) Next search for the feature string (in this case, `pub_restricted`)
in the codebase to find where it appears. Change uses of in the codebase to find where it appears. Change uses of
`#![feature(XXX)]` from the `libstd` and any rustc crates to be `#![feature(XXX)]` from the `libstd` and any rustc crates to be
`#![cfg_attr(stage0, feature(XXX))]`. This includes the feature-gate `#![cfg_attr(bootstrap, feature(XXX))]`. This includes the feature-gate
only for stage0, which is built using the current beta (this is only for stage0, which is built using the current beta (this is
needed because the feature is still unstable in the current beta). needed because the feature is still unstable in the current beta).