Skip to content

Commit b991f05

Browse files
Add an example of passing rustflags to docs
This avoids confusion with the `{}` brackets being actually necessary, leading to configuring a run in which they are directly passed to rustc.
1 parent aa40b14 commit b991f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/bot-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Crater allows some configurations to the toolchains used in an experiment.
148148
You can specify a toolchain using a rustup name or `branch#sha`, and use the
149149
following flags:
150150
* `+rustflags={flags}`: sets the `RUSTFLAGS` environment variable to `{flags}` when
151-
building with this toolchain
151+
building with this toolchain, e.g. `+rustflags=-Zverbose`
152152
* `+patch={crate_name}={git_repo_url}={branch}`: patches all crates built by
153153
this toolchain to resolve the given crate from the given git repository and branch.
154154

0 commit comments

Comments
 (0)