Skip to content

Commit dc47b51

Browse files
authored
mention test folders for cfg(bootstrap) (#1294)
1 parent 8763adb commit dc47b51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/stabilization_guide.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ writing, the next stable release (i.e. what is currently beta) was
132132

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

0 commit comments

Comments
 (0)