@@ -98,15 +98,31 @@ branch of rust-lang/rust which:
9898
9999Send a PR to the master branch to:
100100
101- - modify src/stage0.txt to bootstrap from yesterday's beta
102- - Remove ` cfg(stage0) ` annotated items
103- - Replace ` cfg(not(stage0)) ` with nothing
101+ - Update ` src/stage0.txt ` to change ` date ` to "YYYY-MM-DD" where the date is
102+ the archive date when the beta build was uploaded.
103+
104+ - Remove references to the ` bootstrap ` and ` not(bootstrap) ` conditional
105+ compilation attributes. You can find all of them by installing [ ripgrep] and
106+ running this command:
107+
108+ ```
109+ rg '#!?\[.*\(bootstrap' -t rust
110+ ```
111+
112+ The general guidelines (both for ` #[] ` and ` #![] ` ) are:
113+
114+ - Remove any item annotated with ` #[cfg(bootstrap)] ` .
115+ - Remove any ` #[cfg(not(bootstrap))] ` attribute while keeping the item.
116+ - Remove any ` #[cfg_attr(bootstrap, $attr)] ` attribute while keeping the item.
117+ - Replace any ` #[cfg_attr(not(bootstrap), doc="$doc")] ` with ` $doc ` in the
118+ relevant documentation block (or in a new documentation block).
119+ - Replace any ` #[cfg_attr(not(bootstrap), $attr)] ` with ` #[$attr] ` .
104120
105121## Release day (Thursday)
106122
107123Decide on a time to do the release, T.
108124
109- - ** T-30m ** - Run the following command in a shell with [ AWS
125+ - ** T-50m ** - Run the following command in a shell with [ AWS
110126 credentials] [ awscli ] in the [ simpleinfra] repository:
111127
112128 ```
@@ -129,13 +145,11 @@ Decide on a time to do the release, T.
129145 After this [ Update thanks.rust-lang.org] [ update-thanks ] by triggering a build
130146 on GitHub Actions on the master branch.
131147
132- - ** T-5m ** - Merge blog post.
148+ - ** T-2m ** - Merge blog post.
133149
134150- ** T** - Tweet and post everything!
135151
136152 - Twitter [ @rustlang ] ( https://twitter.com/rustlang )
137- - Reddit [ /r/rust] ( https://www.reddit.com/r/rust/ )
138- - [ Hacker News] ( https://news.ycombinator.com/ )
139153 - [ Users forum] ( https://users.rust-lang.org/ )
140154
141155- ** T+5m** - Release and tag Cargo. In the rust-lang/rust repository on the
@@ -198,3 +212,4 @@ RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup toolchain install nig
198212[ awscli ] : /infra/docs/aws-access.md#using-the-aws-cli
199213[ rust-lang/rust ] : https://github.com/rust-lang/rust
200214[ simpleinfra ] : https://github.com/rust-lang/simpleinfra
215+ [ ripgrep ] : https://github.com/burntsushi/ripgrep
0 commit comments