Skip to content

Commit

Permalink
Merge pull request #310 from apiraino/clarify-checkout-src-access
Browse files Browse the repository at this point in the history
Clarify docs about local src usage
  • Loading branch information
oli-obk committed Feb 1, 2024
2 parents 323aa9b + 90965d3 commit 165a807
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/examples/diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For example, this can check when either the wording has changed, or a different
[#109067](https://github.com/rust-lang/rust/issues/109067) is an example of where this is necessary.
A warning started being emitted, and it is the kind of warning that cannot be turned into an error with `deny(warnings)`.

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

```sh
#!/bin/sh
Expand Down
3 changes: 3 additions & 0 deletions guide/src/rust-src-repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ If you don't use `gh`, you'll just need to copy and paste the token.
`cargo-bisect-rustc` can also clone the rust repo in the current directory (as `rust.git`).
This option can be quite slow if you don't specify the repo path at build time.
You can specify this with the `--access` CLI argument:
```sh
cargo bisect-rustc --access=checkout
```

## `RUST_SRC_REPO` environment variable

Expand Down

0 comments on commit 165a807

Please sign in to comment.