Skip to content

Commit 165a807

Browse files
authored
Merge pull request #310 from apiraino/clarify-checkout-src-access
Clarify docs about local src usage
2 parents 323aa9b + 90965d3 commit 165a807

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

guide/src/examples/diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ For example, this can check when either the wording has changed, or a different
66
[#109067](https://github.com/rust-lang/rust/issues/109067) is an example of where this is necessary.
77
A warning started being emitted, and it is the kind of warning that cannot be turned into an error with `deny(warnings)`.
88

9-
The following script is intended to be used with the `--script` option:
9+
The following script is intended to be used with the `--script` option (set the executable flag on the script, `chmod u+x`):
1010

1111
```sh
1212
#!/bin/sh

guide/src/rust-src-repo.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ If you don't use `gh`, you'll just need to copy and paste the token.
2727
`cargo-bisect-rustc` can also clone the rust repo in the current directory (as `rust.git`).
2828
This option can be quite slow if you don't specify the repo path at build time.
2929
You can specify this with the `--access` CLI argument:
30+
```sh
31+
cargo bisect-rustc --access=checkout
32+
```
3033

3134
## `RUST_SRC_REPO` environment variable
3235

0 commit comments

Comments
 (0)