Skip to content

Commit

Permalink
mention test folders for cfg(bootstrap) (rust-lang#1294)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth authored Feb 5, 2022
1 parent 8763adb commit dc47b51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stabilization_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ writing, the next stable release (i.e. what is currently beta) was

Next search for the feature string (in this case, `pub_restricted`)
in the codebase to find where it appears. Change uses of
`#![feature(XXX)]` from the `std` and any rustc crates to be
`#![feature(XXX)]` from the `std` and any rustc crates (this includes test folders
under `library/` and `compiler/` but not the toplevel `test/` one) to be
`#![cfg_attr(bootstrap, feature(XXX))]`. This includes the feature-gate
only for stage0, which is built using the current beta (this is
needed because the feature is still unstable in the current beta).
Expand Down

0 comments on commit dc47b51

Please sign in to comment.