Skip to content

Clarify docs about local src usage #310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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