Skip to content

Commit 1aab5d5

Browse files
committed
More build-manifest docs
1 parent fde05ea commit 1aab5d5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/tools/build-manifest/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ This gets called by `promote-release` <https://github.com/rust-lang/promote-rele
88

99
## Adding a new component
1010

11-
There are several steps involved here.
1211
1. Add a new `Step` to `dist.rs`. This should usually be named after the filename of the uploaded tarball. See https://github.com/rust-lang/rust/pull/101799/files#diff-2c56335faa24486df09ba392d8900c57e2fac4633e1f7038469bcf9ed3feb871 for an example.
1312
a. If appropriate, call `tarball.is_preview(true)` for the component.
14-
3. Add a new `PkgType` to build-manifest. Fix all the compile errors as appropriate.
13+
2. Add a new `PkgType` to build-manifest. Fix all the compile errors as appropriate.
1514

1615
## Testing changes locally
1716

@@ -30,5 +29,5 @@ Then, you can generate the manifest and all the packages from `build/dist` to
3029

3130
```sh
3231
mkdir -p build/manifest
33-
cargo +nightly run -p build-manifest build/dist build/manifest 1970-01-01 http://example.com nightly
32+
cargo +nightly run --release -p build-manifest build/dist build/manifest 1970-01-01 http://example.com nightly
3433
```

0 commit comments

Comments
 (0)