Skip to content

Commit 75dbb19

Browse files
committed
Update contribution guidelines to use --index
Introduced in rust-lang/cargo#4209
1 parent 63cbe0e commit 75dbb19

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,13 +428,12 @@ live crates.io, you won't be able to publish that crate locally.
428428
In your crate directory, run:
429429
430430
```
431-
cargo publish --host file:///path/to/your/crates.io/checkout/tmp/index-co
431+
cargo publish --index file:///path/to/your/crates.io/checkout/tmp/index-co
432432
```
433433
434434
where `file:///path/to/your/crates.io/checkout` is the directory that you have
435435
crates.io's code in, and `tmp/index-co` is the directory with the git index
436-
that `./script/init-local-index.sh` set up. [Yes, `host` dosen't really make
437-
sense as a name for this flag](https://github.com/rust-lang/cargo/issues/3797).
436+
that `./script/init-local-index.sh` set up.
438437
439438
Note that when you're running crates.io in development mode without the S3
440439
variables set (which is what we've done in these setup steps), the crate files

0 commit comments

Comments
 (0)